Running programs with a WSH script 
Author Message
 Running programs with a WSH script

The interesting fact that I discovered with spaces in folder names is that
you really only need to use Chr(34) at the beginning of the string.
example
WSHShell.run Chr(34) & "c:\program files\hello dir\hello.exe"
no need to add the Chr(34) at the end.  Probably a good idea to do it but
you don't need to, and if you're typing adverse leave the last chr(34) off.

David Hamel



Thu, 10 May 2001 03:00:00 GMT  
 
 [ 4 post ] 

 Relevant Pages 

1. Running programs with WSH

2. Running programs on the server through ASP/WSH

3. How to Run a program with vbs/wsh

4. Running DOS-Programs from WSH

5. Problems running script to execute programs/links or folders from Active Desktop

6. Running Visual Basic Program from VB script

7. Script to run program: Newbie Help

8. problems running programs from remote script

9. VB Script - GettingTask ID of running program

10. Specifying arguments when running program from script

11. Script for running a program

12. Cannot run two programs with script

 

 
Powered by phpBB® Forum Software