The How-To Geek Forums Have Migrated to Discourse


How-To Geek Forums / Windows XP

Batch files

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

PARTNER SPOTLIGHT

Recommended: Clean Your Mac the Easy Way with CleanMyMac 3

If you want to clean up your Mac the easy way, CleanMyMac is a great tool to get the job done easily, and it will even keep your computer clean automatically.

Unlike the competition, it also includes great tools like a Clean Uninstaller, to get rid of applications and clean up the junk that they leave behind. All with the click of a button.

Download CleanMyMac 3 for Free Today

Posted yesterday 
Top
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 8 years ago
Top
 
bamsan
Posts: 80

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

Posted 8 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 8 years ago
Top
 
bamsan
Posts: 80

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

Posted 8 years ago
Top
 
yarivd1
Posts: 22

Thank you, it's working

Posted 8 years ago
Top
 



Topic Closed

This topic has been closed to new replies.