PDA

View Full Version : Run Command Line vs. Run Program



NewsArchive
07-31-2008, 02:11 AM
I have the following in Run Command Line, and it works great:
CMD /C DIR "%_SB_INSTALLDIR%\PatchScripts\PATCH*.sql" /ON /B >
"%_SB_INSTALLDIR%\PatchScripts\PatchFileList.txt"

however, I hate the stupid black dos box that pops up... so, i put it in run
program. Here is how it looks:

File Name: CMD
Target Folder: %_SB_INSTALLDIR%\PatchScripts\
Command Line: /C DIR "%_SB_INSTALLDIR%\PatchScripts\PATCH*.sql" /ON /B >
"%_SB_INSTALLDIR%\PatchScripts\PatchFileList.txt"
Start Parameter:
Default Directory: %_SB_INSTALLDIR%\PatchScripts\

Wait for Program is checked.
I have tried ShellExecuteEx both checked and uncehcked.

Why doesn't the Run Program work?
What am i missing?

Thanks,
-Glenn.

NewsArchive
07-31-2008, 02:12 AM
Dunno.
Maybe try a batch file as in the attached example??

Jane