|21 Apr 2013||#1|
How do I compile a batch file to an existing .exe
What i'm trying to do is every time I open a .zip, a specific sound and text file open as well, in their default applications. I'm using WINRAR as default for zip, VLC default for sound, and Notepad for txt. I think a batch file is how one would do this in Win7. I'm going over commands and making the files open, but i'm not sure how to compile to the winrar.exe or if thats the way to go about this task. Does anyone have a good idea on how to get this done.
|My System Specs|
|21 Apr 2013||#2|
Yes, a bat file would be an option for that.
The START command will do that, it simply opens the file as if you would double-click it, opening any files with whatever program you have associated with them.
Put this in a bat file:
@ECHO OFF START c:\zipfile.zip START c:\sound.wav START c:\textfile.txt
|My System Specs|
|Similar help and support threads for2: How do I compile a batch file to an existing .exe|
|How to run a batch file at logoff & some batch scripting help please||Backup and Restore|
|Replace default .pst file with existing .pst file||Microsoft Office|
|Batch File that grabs file names from folder to insert into batch file||General Discussion|
|How to compile a text file or similar regarding files?.||General Discussion|
|batch file open file for program in the startup folder||General Discussion|
|How to create a batch file that will move files based on the file type||General Discussion|
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd
All times are GMT -5. The time now is 06:35.