|
-
August 17th, 2001, 09:53 AM
#1
Using the Shell function
Im trying to use the Shell function in order to start an executable file that requires an argument (a file name). The program can only be executed from the command promt (DOS) and the argument is a file name (converts .wad files to .pcx files). It doesn't work. I can see that the progam starts the same way it does when i double klick on it in windows, that is without an argument. But it refuses to read the argument when i use Shell "C:\wad3.exe & " " & fileName, 2 . If i start it from the command promt (like: c:\wad3.exe batman.wad) it works as intended.. Any idea how to solve this problem? Is there any other function that can be used?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|