Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

run programs with a space in the path 1

Status
Not open for further replies.

Manu2

Programmer
Dec 23, 2002
3
CH
hi!

normaly its no problem to run a program like:

Wshell.Run "c:\windows\notepad.exe", 3,false

Is there a way to run programs with a space in the path for exaple:

Wshell.Run "c:\programme\ahead nero\nero.exe", 3, false
???

thanks for your help!!
 
The program name will need quotes around it if you have embedded spaces and so on. Try:

Code:
Wshell.Run """c:\programme\ahead nero\nero.exe""", 3, false
 
That was the right solution. Thank a lot...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top