Can I cancel default program from opening file during batch file instance?
Ostatnio zmodyfikowano 2017-08-30 17:36
JoeClark Temat założony przez niniejszego użytkownika |
Can I cancel default program from opening file during batch file instance? » 2017-08-28 13:54:11 Had no idea how to phrase the subject. Trying to script simple Batch file to open a file using a specific program. So for, I have the following: "My Music\test.pls" start XMPlayPortable/XMPlayPortable.exe ["XMPlay Portable"]
Works great, only problem is that the playlist file, *.pls, is also simultaneously opened using the Host computers default program itunes. I don't want to change the default program for file-types or anything, just to cancel the default program from running during the batch file instance.
All files involved will be self-contained on a flash drive and directories will be scripted as "relative" (I really hope Im using the right terms) so the batch file will not have to rely on drive letters, that way it can be run from computer to computer.
Ultimately Im trying to create a tutorial package for some friends. But I need it as simple as "double-click this" and everything needed will open. If I can just get this experiment down, I think I'll be able to handle the rest. Varxtis is offline Please Help. Thanks ! I didn't find the right solution from the internet. References: - http://www.programmingforums.org/thread48544455.html - [url=http://blog.advids.co/20-device-explainer-video-examples/]Device Explainer Video[/url] Examples
|
|
DejaVu |
» 2017-08-30 17:36:00 If you don't want to run default program then you shouldn't type command which it does. By typing: directory\file.sth
You will trigger opening file with default application. Just don't run this command if you don't want it. |
|
« 1 » |