|
-
January 22nd, 2009, 06:38 AM
#1
Exe and .bat file
I have an .exe file. It receives two input arguments which is in different directories.By hand entry i am ok working properly. But to avoid multiple time entering i want to pack the path of .exe and input files in a .bat file and by single click the entire operation completed.....
More specifically
.exe file in folder1 of path1
'input1' file in folder2 of path2
'input2' file in folder3 of path3
thanks in advance!!!!
-
January 22nd, 2009, 08:24 AM
#2
Re: Exe and .bat file
You'd put it in the Bat file pretty much the same way you do it in a cmd prompt..
Code:
[Path1]/[Exename] [Path2]/[Folder2] [Path3]/[Folder3]
that is it.. all done ... now you can easily run it ...
Articles VB6 : Break the 2G limit - Animation 1, 2 VB.NET : 2005/8 : Moving Images , Animation 1 , 2 , 3 , User Controls
WPF Articles : 3D Animation 1 , 2 , 3
Code snips: VB6 Hex Edit, IP Chat, Copy Prot., Crop, Zoom : .NET IP Chat (V4), Adv. ContextMenus, click Hotspot, Scroll Controls
Find me in ASP.NET., VB6., VB.NET , Writing Articles, My Genealogy, Forum
All VS.NET: posts refer to VS.NET 2008 (Pro) unless otherwise stated.
-
January 22nd, 2009, 07:59 PM
#3
Re: Exe and .bat file
not a .BAT file! (although it will still work)
Use a .CMD file instead! Even better, try Powershell 2.0 CTP
http://www.microsoft.com/downloads/d...displaylang=en
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|