Reply
How to create "batch file" in Win98 etc?
Old 03-28-2005, 01:12 PM How to create "batch file" in Win98 etc?
Novice Talker

Posts: 9
I'd like to create the Windows equivalent of a "batch file" on my desktop. That is, I'd like to grab an icon somewhere, and use it to launch some instructions--for example, I want to copy d:\dir1\file1.htm to a:\dir1\file1.htm, erase e:\work\temp1.txt, copy all of d:\dir2 to a:\dir2, then launch Adobe, then launch one of the Windows accessories.

I suppose if I knew the generic name for what I want to do I might be able to do it, or at least find some instructions on how to do it. But I don't know the name of the general process I'm talking about.

Would appreciate any help on this.

Since it's not clear to me that I will automatically get an email when/if anyone responds to this, I'd appreciate it if anyone responding could also email me at practicalinfo [on] earthlink period net. Tnx.
notmadscientist is offline
Reply With Quote
View Public Profile
 
When You Register, These Ads Go Away!
     
Old 03-28-2005, 06:14 PM
Minaki's Avatar
Defies a Status

Posts: 1,626
Location: Guildford, UK
All you do is put the commands in a textfile and give it a .bat extention... run it and it'll execute the commands line by line.

(I'm not sendin an e-mail, not my job )
__________________
Minaki Serinde MCP
"Wow, Linux is nearly on-par with Windows ME!"
Inoxia Pyrotechnics Supplies | Surrey Angels Cheerleading Squad
Minaki is offline
Reply With Quote
View Public Profile Visit Minaki's homepage!
 
Old 03-30-2005, 12:40 PM
simptech's Avatar
Skilled Talker

Posts: 81
Location: Cape Coral, Florida, United States
contents of test.bat

Code:
copy d:\dir1\file1.htm a:\dir1\file1.htm
del e:\work\temp1.txt
copy d:\dir2\*.* a:\dir2
c:\progra~1\adobe\photos~1\photoshop.exe
c:\windows\notepad.exe
update your paths accordingly
__________________
PHPScripts4Free.com
FREE PHP scripts for your website!
simptech is offline
Reply With Quote
View Public Profile Visit simptech's homepage!
 
Reply     « Reply to How to create "batch file" in Win98 etc?
 

Thread Tools

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.11460 seconds with 13 queries