SEARCH

The How-To Geek Forums Have Migrated to Discourse

How-To Geek Forums / Windows XP

Batch files

(5 posts)
  • Started 6 years ago by yarivd1
  • Latest reply from yarivd1
  • Topic Viewed 1645 times

yarivd1
Posts: 22

Why can't I use:
start "%userprofile%\My Documents\application.exe"
on batch files? I know that there are spaces on the location but it don't work even though
there are " ", and it just opens CMD window.
Thanks.

Posted 6 years ago
Top
 
bamsan
bamsan
Posts: 80

If you want to run an application, just omit the start

Posted 6 years ago
Top
 
yarivd1
Posts: 22

Thanks bamsan.
Now there's another problem, there are two executables on the batch files that I want to run at the same time, but it waits until I'm terminating the first file, then it opens the second. How can I fix it?

Posted 6 years ago
Top
 
bamsan
bamsan
Posts: 80

Create shortcut to your .exe files, and call the shortcuts from your batch file. This should do the trick

Posted 6 years ago
Top
 
yarivd1
Posts: 22

Thank you, it's working

Posted 6 years ago
Top
 



Topic Closed

This topic has been closed to new replies.

Enter Your Email Here to Get Access for Free:

Go check your email!