Computer Forums

Member Login

Remember Me? Sign Up! | Forgot Password
 
Slogan
 
Computer Forums > Programmers Lounge > Programming Discussions » autoexec.bat scripting help
Closed Thread
Old 04-26-2006, 07:54 PM   #1 (permalink)
 
Wizard Techie

Join Date: Jun 2005

Posts: 3,346

Tyler1989

Default autoexec.bat scripting help

hey everyone I could use some brief help in scripting an autoexec.bat

I am using a flashdrive and I would like to have an autoexec file that changes the icon for the drive to an "file.ico" on the root directory, I also want to keep the current drive letter assignment but also have a fake/clone drive letter assigned to it of "X:" seen it done just don't know how exactly.
__________________
<form action=\"http://www.srsyo.org/tfsearch.php\" method=\"get\">
<input type=\"text\" name=\"search\"> <input type=\"submit\" name=\"submit\" value=\"Search TF before you post!\"></form>
Vista Discussion | 64 Bit Discussion |Microsoft Homepage | Yo Linux | Paul Thurrott | Fire Fox | Thunder Bird | Image Shack | Photo Bucket | Put File | Anti-Spyware | MS Anti-Spyware | Trillian | Anti-Virus | On Line Virus Scan
Tyler1989 is offline  
Old 04-27-2006, 09:34 AM   #2 (permalink)
office politics's Avatar
 
It's all just 1s and 0s

Join Date: Jan 2004

Location: in the lab

Posts: 4,419

office politics will become famous soon enough

Default

create a file named autorun.inf on the root of the drive

Quote:
[autorun]
icon=Acrobat.ico

office politics is offline  
 
Closed Thread

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
Trackbacks are On
Pingbacks are On
Refbacks are On