Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Jan 8th, 2016, 1:08 AM   #1
Varxtis
Newbie
 
Join Date: Jan 2010
Posts: 3
Rep Power: 0 Varxtis is on a distinguished road
Can I cancel default program from opening file during batch file instance?

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   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How can I make a C++ program wait for wget or cURL to finish downloading a file? LuculentCabal C++ 11 Aug 3rd, 2010 3:23 AM
working with files - program does not write to file neuname C 7 May 10th, 2010 4:50 PM
Batch file symbols and characters gsingh2011 Bash / Shell Scripting 7 Jan 10th, 2009 4:04 AM
Copy batch file output to text file mikejones11234 Other Scripting Languages 5 Dec 21st, 2008 8:23 PM




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 3:58 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC