Question about Microsoft Windows Vista Ultimate Edition

2 Answers

To make .bat file

I want to make *.bat file for autorun cd. how could i do this.plz tell me

Posted by on

2 Answers

  • Level 3:

    An expert who has achieved level 3 by getting 1000 points

    Superstar:

    An expert that got 20 achievements.

    All-Star:

    An expert that got 10 achievements.

    MVP:

    An expert that got 5 achievements.

  • Microsoft Master
  • 19,396 Answers

The command lines contained in autorun are for windows, they cannot be executed from a *.bat file, as in a batch file you can only run dos programs.
If you want to execute a specific program on cd using a batch file you just type the program path and name in the bat file, for example : "E:\startup.exe" and save the batch file.
You can edit and save autoexec.bat using notepad.
If you simply need to start computer from a bootable cd instead, you will need to modify cmos boot setting in bios.
To access bios settings you need to press a key on startup, before windows starts.

Posted on Jun 22, 2008

  • Level 1:

    An expert who has achieved level 1.

    Hot-Shot:

    An expert who has answered 20 questions.

    Corporal:

    An expert that has over 10 points.

    Mayor:

    An expert whose answer got voted for 2 times.

  • Contributor
  • 24 Answers

Here is a site that has all of the information that you will need including the autorun.inf and autorun.bat. It is included in the sample and should be rather strait forward. If you need any assistance, please let me know.

http://www.softwarepatch.com/tips/autorun.html

Posted on Jun 16, 2008

Add Your Answer

Uploading: 0%

my-video-file.mp4

Complete. Click "Add" to insert your video. Add

×

Loading...
Loading...

Related Questions:

4 Answers

I have windows os and there is a autorun.inf something hidden file in my all drives.my avira antivirus has blocked that file.and i want to know that is the file safe or it is going to harm my pc.what...


Autorun.inf is the primary instruction file associated with the Autorun function. Autorun.inf itself is a simple text-based configuration file that tells the operating system which executable to start, which icon to use, and which additional menu commands to make available. In other words, autorun.inf tells Windows how to deal open the presentation and treat the contents of the CD.


That being said, it would depend on what it is trying to run automatically. If it is trying to run iTunes automatically that is one thing, but if it is running a virus automatically it would not be safe.

You can right click on the file, and edit it with notepad/wordpad to find out what program it is trying to run.

May 02, 2011 | Operating Systems

1 Answer

I want to install sound driver so which should be first step


put your driver cd in your cd/dvd . Usual it will autorun . If not (and if you have autorun.ini) view the inside of the autorun.ini and you'll see an instr. executable . copy /paste that instruction (usually the path to a exe file) or double click on that exe.Press auto install of the audio driver .
The "expert" way :
you are in device manager -> audio device (will have a yellow "?"),open,update driver , browse to the inf file (always for older versions of windows).

Mar 14, 2010 | Microsoft Windows XP Professional

1 Answer

Can i install vs2005 in vista? if yes then plz tell me the steps????????/


Yes u can.
It is just normal as it were in xp.
Put your vs 2005 cd, if autorun runs go ahead normaly else browse the setup.exe file, double click on it and follow default (u can customize also) routines.

Feb 19, 2010 | Microsoft Windows Vista Home Premium with...

3 Answers

Autorun.inf virus prob.


go to start button and press run option type cmd type cd\  2. type c: and press enter
3. type attrib -r -h -s autorun.inf 
4. type del autorun.inf

Apr 01, 2009 | Microsoft Windows XP Home Edition

4 Answers

Cannot access anti-virus websites


Download STINGER antivirus and scan with this tool.

Variants Can Detect:
BackDoor-ALI,BackDoor-AQJ,BackDoor-AQJ.b,BackDoor-CEB,BackDoor-CEB!bat,BackDoor-CEB!hosts,BackDoor-CEB.b,BackDoor-CEB.c,BackDoor-CEB.d,BackDoor-CEB.dll,BackDoor-CEB.dr,BackDoor-CEB.e,BackDoor-CEB.f,BackDoor-CEB.sys,BackDoor-CFB,BackDoor-JZ,BackDoor-JZ.dam,BackDoor-JZ.dr,BackDoor-JZ.gen,BackDoor-JZ.gen.b,Bat/Mumu.worm,Cleanup,CoreFlood,Coreflood!psexec,Coreflood.dldr,CoreFlood.dll,CoreFlood.dr,Danmec,Downloader-DN.a,Downloader-DN.b,Downloader-UA,Exploit-DcomRpc,Exploit-DcomRpc.b,Exploit-DcomRpc.dll,Exploit-Lsass,Exploit-Lsass.dll,Exploit-MS04-011,Exploit-MS04-011.gen,Exploit-MSExcel.k,Exploit-MSExcel.l,Exploit-MSExcel.m,Exploit-MSExcel.n,Exploit-MSExcel.o,Exploit-MSExcel.p,Exploit-MSExcel.q,Exploit-MSExcel.r,Exploit-PDF.b,Exploit-PDF.c,Exploit-PDF.d,Exploit-PDF.e,Exploit-PDF.f,Exploit-PDF.g,Exploit-PDF.h,Exploit-XMLhttp.d,Exploit-XMLhttp.d.gen,Exploit-XMLhttp.d.gen.b,Exploit-XMLhttpd.d,FakeAlert,FakeAlert-AA,FakeAlert-AB,FakeAlert-AB!htm,FakeAlert-AB.dldr,FakeAlert-AB.dr,FakeAlert-AC,FakeAlert-AD,FakeAlert-AE,FakeAlert-AF,FakeAlert-AG,FakeAlert-AG.gen.b,FakeAlert-AG.gen.c,FakeAlert-AH,FakeAlert-AI,FakeAlert-AJ,FakeAlert-AK,FakeAlert-AL,FakeAlert-AM,FakeAlert-AN,FakeAlert-AntiVirusPro,FakeAlert-AntiVirusXP,FakeAlert-AO,FakeAlert-AP,FakeAlert-AQ,FakeAlert-AR,FakeAlert-AS,FakeAlert-AT,FakeAlert-AU,FakeAlert-av360,FakeAlert-AW,FakeAlert-AZ,FakeAlert-AZ!htm,FakeAlert-B,FakeAlert-B.dldr,FakeAlert-B.dr,FakeAlert-BA,FakeAlert-BB,FakeAlert-BC,FakeAlert-BD,FakeAlert-BE,FakeAlert-BE.gen,FakeAlert-BF,FakeAlert-BG.dldr,FakeAlert-BH.dldr,FakeAlert-BI,FakeAlert-BJ,FakeAlert-BK,FakeAlert-BL,FakeAlert-BM,FakeAlert-BN,FakeAlert-BO,FakeAlert-BO.dldr,FakeAlert-BP,FakeAlert-BQ,FakeAlert-BR,FakeAlert-BS,FakeAlert-C,FakeAlert-C.dr,FakeAlert-C.gen,FakeAlert-D,FakeAlert-E,FakeAlert-F,FakeAlert-G,FakeAlert-H,FakeAlert-I,FakeAlert-J,FakeAlert-K,FakeAlert-L,FakeAlert-LastDefender,FakeAlert-M,FakeAlert-N,FakeAlert-N.dldr,FakeAlert-O,FakeAlert-P,FakeAlert-Q,FakeAlert-R,FakeAlert-S,FakeAlert-S.dll,FakeAlert-SpyKiller,FakeAlert-SpywareGuard,FakeAlert-T,FakeAlert-U,FakeAlert-V,FakeAlert-W,FakeAlert-WinwebSecurity,FakeAlert-X,FakeAlert-XPAntivirus,FakeAlert-XPSecCenter,FakeAlert-Y,FakeAlert-Y.dr,FakeAlert-Z,Fribet,Generic FakeAlert,Generic FakeAlert.d,Generic FakeAlert.e,Generic!atr,HideWindow,HideWindow.dll,HTool-T2W,IPCScan,IRC/Flood.ap,IRC/Flood.ap.bat,IRC/Flood.ap.dr,IRC/Flood.bi,IRC/Flood.bi.dr,IRC/Flood.cd,JS/Autorun.worm.ci,JS/Downloader-AUE,JS/FakeAlert,JS/FakeAlert-AB.dldr,NTServiceLoader,ProcKill,Proxy-Agent.af,Proxy-Agent.af.dr,PWS-Banker.dldr,PWS-FireMing,PWS-FireMing.dll,PWS-FireMing.dr,PWS-Gamania.gen.a,PWS-Narod,PWS-Narod.dll,PWS-Narod.gen,PWS-Sincom,PWS-Sincom.dll,PWS-Sincom.dr,rootkit,VBS/Autorun.bj,VBS/Autorun.worm.au,VBS/Autorun.worm.ay,VBS/Autorun.worm.bi,VBS/Autorun.worm.bj,VBS/Autorun.worm.bs,VBS/Autorun.worm.by,VBS/Autorun.worm.ca,VBS/Autorun.worm.cy,VBS/Autorun.worm.dm,VBS/Autorun.worm.dn,VBS/Autorun.worm.dn!atr,VBS/Autorun.worm.dn!txt,VBS/Autorun.worm.dv,VBS/Autorun.worm.dz,VBS/Autorun.worm.en,VBS/Autorun.worm.k,VBS/Autorun.worm.k!bat,VBS/Autorun.worm.zd,VBS/Autorun.worm.ze,VBS/Autorun.worm.zl,VBS/Autorun.worm.zn,VBS/FakeAlert-AB,VBS/IE-Title,Vundo,Vundo.dldr,Vundo.dr,Vundo.gen.h,Vundo.gen.i,Vundo.gen.j,Vundo.gen.k,Vundo.gen.l,Vundo.gen.m,Vundo.gen.n,Vundo.gen.o,Vundo.gen.p,Vundo.gen.r,Vundo.gen.s,Vundo.gen.t,Vundo.gen.u,W32/Anig.worm,W32/Anig.worm.dll,W32/Autorun.worm,W32/Autorun.worm!inf,W32/Autorun.worm!ini,W32/Autorun.worm.a,W32/Autorun.worm.aa,W32/Autorun.worm.ab,w32/autorun.worm.ac,W32/Autorun.worm.ad,W32/Autorun.worm.ae,W32/Autorun.worm.af,W32/Autorun.worm.ag,W32/Autorun.worm.ai,W32/Autorun.worm.aj,W32/Autorun.worm.ak,W32/Autorun.worm.al,W32/Autorun.worm.am,W32/Autorun.worm.an,W32/Autorun.worm.ao,W32/Autorun.worm.ap,W32/Autorun.worm.aq,W32/Autorun.worm.ar,W32/Autorun.worm.as,W32/Autorun.worm.at,W32/Autorun.worm.av,W32/Autorun.worm.aw,W32/Autorun.worm.ax,W32/Autorun.worm.az,W32/Autorun.worm.b,W32/Autorun.worm.b.cfg,W32/Autorun.worm.ba,W32/Autorun.worm.bb,W32/Autorun.worm.bc,W32/Autorun.worm.bd,W32/Autorun.worm.be,W32/Autorun.worm.bf,W32/Autorun.worm.bg,W32/Autorun.worm.bh,W32/Autorun.worm.bk,W32/Autorun.worm.bl,W32/Autorun.worm.bm,W32/Autorun.worm.bn,W32/Autorun.worm.bo,W32/Autorun.worm.bp,W32/Autorun.worm.bp!reg,W32/Autorun.worm.bq,W32/Autorun.worm.br,W32/Autorun.worm.bt,W32/Autorun.worm.bw,W32/Autorun.worm.bx,W32/Autorun.worm.bx!inf,W32/Autorun.worm.bx.gen,W32/Autorun.worm.bz,W32/Autorun.worm.c,W32/Autorun.worm.cb,W32/Autorun.worm.cb.dr,W32/Autorun.worm.cc,W32/Autorun.worm.cd,W32/Autorun.worm.ce,W32/Autorun.worm.cf,W32/Autorun.worm.cg,W32/Autorun.worm.ch,W32/Autorun.worm.cj,W32/Autorun.worm.ck,W32/Autorun.worm.cm,W32/Autorun.worm.cn,W32/Autorun.worm.co,W32/Autorun.worm.cp,W32/Autorun.worm.cp!bat,W32/Autorun.worm.cq,W32/Autorun.worm.cr,W32/Autorun.worm.cs,W32/Autorun.worm.ct,W32/Autorun.worm.cu,W32/Autorun.worm.cv,W32/Autorun.worm.cw,W32/Autorun.worm.cx,W32/Autorun.worm.cz,W32/Autorun.worm.d,W32/Autorun.worm.da,W32/Autorun.worm.db,W32/Autorun.worm.dc,W32/Autorun.worm.dd,W32/Autorun.worm.dd!inf,W32/Autorun.worm.de,W32/Autorun.worm.df,W32/Autorun.worm.dg,W32/Autorun.worm.dh,W32/Autorun.worm.di,W32/Autorun.worm.dj,W32/Autorun.worm.dk,W32/Autorun.worm.dl,W32/Autorun.worm.dn,W32/Autorun.worm.do,W32/Autorun.worm.dp,W32/Autorun.worm.dq,W32/Autorun.worm.ds,W32/Autorun.worm.dt,W32/Autorun.worm.du,W32/Autorun.worm.dw,W32/Autorun.worm.dx,W32/Autorun.worm.dy,W32/Autorun.worm.e,W32/Autorun.worm.ea,W32/Autorun.worm.eb,W32/Autorun.worm.ec,W32/Autorun.worm.ed,W32/Autorun.worm.ef,W32/Autorun.worm.eg,W32/Autorun.worm.ei,W32/Autorun.worm.ej,W32/Autorun.worm.ek,W32/Autorun.worm.el,W32/Autorun.worm.em,W32/Autorun.worm.eo,W32/Autorun.worm.ep,W32/Autorun.worm.eq,W32/Autorun.worm.f,W32/Autorun.worm.g,W32/Autorun.worm.gen!job,W32/Autorun.worm.gen.cl,W32/Autorun.worm.gen.za,W32/Autorun.worm.gen.zb,W32/Autorun.worm.h,W32/Autorun.worm.h!lnk,W32/Autorun.worm.i,W32/Autorun.worm.j,W32/Autorun.worm.l,W32/Autorun.worm.m,W32/Autorun.worm.n,W32/Autorun.worm.o,W32/Autorun.worm.p,W32/Autorun.worm.q,W32/Autorun.worm.r,W32/Autorun.worm.remmants,W32/Autorun.worm.s,W32/Autorun.worm.t,W32/Autorun.worm.u,W32/Autorun.worm.v,W32/Autorun.worm.v!bat,W32/Autorun.worm.w,W32/Autorun.worm.x,W32/Autorun.worm.y,W32/Autorun.worm.z,W32/Autorun.worm.zc,W32/Autorun.worm.zf,W32/Autorun.worm.zg,W32/Autorun.worm.zh,W32/Autorun.worm.zi,W32/Autorun.worm.zj,W32/Autorun.worm.zk,W32/Autorun.worm.zm,W32/Bagle,W32/Bagle!eml.gen,W32/Bagle!pwdzip,W32/Bagle.ad!src,W32/Bagle.dldr,W32/Bagle.dll.dr,W32/Bagle.eml,W32/Bagle.fb!pwdzip,W32/Bagle.fc!pwdzip,W32/Bagle.fd!pwdzip,W32/Bagle.fe!pwdzip,W32/Bagle.fm.dldr,W32/Bagle.gen,W32/Bagle@MM!cpl,W32/Blaster.worm,W32/Blaster.worm.k,W32/Bropia.worm,W32/Bugbear,W32/Bugbear.a.dam,W32/Bugbear.b!data,W32/Bugbear.b.dam,W32/Bugbear.gen@MM,W32/Bugbear.h@MM,W32/Bugbear@MM,W32/Conficker,W32/Conficker.sys,W32/Conficker.worm,W32/Conficker.worm!inf,W32/Conficker.worm!job,W32/Conficker.worm.gen.a,W32/Conficker.worm.gen.b,W32/Deborm.worm.ah,W32/Deborm.worm.gen,W32/Doomjuice.worm,W32/Dumaru,W32/Dumaru.ad@MM,W32/Dumaru.al.dll,W32/Dumaru.dll,W32/Dumaru.eml,W32/Dumaru.gen,W32/Dumaru.gen@MM,W32/Dumaru.w.gen,W32/Elkern.cav,W32/Elkern.cav.c,W32/Elkern.cav.c.dam,W32/Fizzer,W32/Fizzer.dll,W32/Fujacks!htm,W32/FunLove,W32/FunLove.apd,W32/Gaobot.worm,W32/Harwig.worm,W32/IRCbot,W32/IRCbot.worm,W32/IRCbot.worm.dll,W32/Klez,W32/Klez.dam,W32/Klez.eml,W32/Klez.gen.b@MM,W32/Klez.rar,W32/Koobface.worm,W32/Korgo.worm,W32/Lirva,W32/Lirva.c.htm,W32/Lirva.eml,W32/Lirva.gen@MM,W32/Lirva.htm,W32/Lirva.txt,W32/Lovgate,W32/Mimail,W32/Mimail.c@MM,W32/Mimail.i!data,W32/Mimail.q@MM,W32/MoFei.worm,W32/MoFei.worm.dr,W32/Mumu.b.worm,W32/Mydoom,W32/Mydoom!bat,W32/Mydoom!ftp,W32/Mydoom.b!hosts,W32/Mydoom.dam,W32/Mydoom.t.dll,W32/Mytob,W32/Mytob.gen@MM,W32/Mytob.worm,W32/MyWife,W32/MyWife.dll,W32/MyWife@MM,W32/Nachi!tftpd,W32/Nachi.worm,W32/Netsky,W32/Netsky.af@MM,W32/Nimda,W32/Nimda.dam,W32/Nimda.eml,W32/Nimda.gen@MM,W32/Nimda.htm,W32/Nuwar,W32/Nuwar.dam,W32/Nuwar.sys,W32/Nuwar@MM,W32/Nuwar@MM!rar,W32/Pate,W32/Pate!dam,W32/Pate.dam,W32/Pate.dr,W32/Polip,W32/Polip!mem,W32/Polybot,W32/Polybot.bat,W32/Sasser.worm,W32/Sasser.worm!ftp,W32/Sdbot,W32/Sdbot!irc,W32/Sdbot.bat,W32/Sdbot.cli,W32/Sdbot.dll,W32/Sdbot.dr,W32/Sdbot.worm,W32/Sdbot.worm!ftp,W32/Sdbot.worm.bat.b,W32/Sdbot.worm.dr,W32/Sdbot.worm.gen,W32/Sdbot.worm.gen.a,W32/Sdbot.worm.gen.b,W32/Sdbot.worm.gen.c,W32/Sdbot.worm.gen.d,W32/Sdbot.worm.gen.e,W32/Sdbot.worm.gen.q,W32/Sober,W32/Sober!data,W32/Sober.dam,W32/Sober.eml,W32/Sober.f.dam,W32/Sober.g.dam,W32/Sober.q!spam,W32/Sober.r.dr,W32/Sober.r@MM,W32/Sobig,W32/Sobig.dam,W32/Sobig.eml,W32/Sobig.f.dam,W32/Sobig.gen@MM,W32/Spybot.worm,W32/SQLSlammer.worm,W32/Swen,W32/Swen@MM,W32/Virut,W32/Virut!mem,W32/Yaha.eml,W32/Yaha.gen@MM,W32/Yaha.y@MM,W32/Yaha@MM,W32/Zafi,W32/Zafi.b.dam,W32/Zindos.worm,W32/Zotob.worm,W32/Zotob.worm!hosts


Download v10.0.0.482 [2,641,920 bytes] (01/10/2009).


Hope this will be helpfull

Thanks & Regards

Nanda Kishore :)

Mar 25, 2009 | Microsoft Windows XP Professional

2 Answers

Unable to delete the autorun.inf


hi azhar here form Karachi it is very easy. do, the below steps
reboot ur PC in safe mode with command prompt
when u bring a dos screen just move to ur drive mostly virus stayed in d: drive got d: drive and type
d:dir/ah and press enter
if u see there any auto run.inf file there also should be another file like .exe file or .bat or any kind of unknown , file so for delete the auto run file type attrib -s -h -r autorun.inf and press enter
then type del autorun.inf and hit enter here u go u have done.
do the samr process in all drives because mostly autorun.inf file make copy in all drives
remember autorun inf is just a file which help the virus to run autometicly

Feb 12, 2009 | Microsoft Windows XP Professional With...

1 Answer

No autorun on usb devices or cd rom


run AutoFix.exe
download clik here Windows XP autorun repair wizard

Applies to:
Windows XP with Service Pack 2

Requirements
Windows XP with SP2

window.google_render
File Size
0.1MB

File Name
AutoFix.exe

Author/Supplier
Microsoft

Description
Windows XP was designed to make it simpler to identify content on CDs or DVDs, and assist in launching the correct program to open or view the files. For example, insert a movie DVD and Windows XP should show options for programs that can play a DVD. Unfortunately things can go wrong - settings get altered and the autorun no longer wants to be your friend. This free tool can help diagnose and repair autorun problems in XP. It is a tiny download and doesn't require installation. Simply double-click the exe file, click a few buttons (OK, some options are a little cryptic) and you can change or repair your Windows XP autorun options.

Jan 10, 2009 | Microsoft Windows XP Home Edition

1 Answer

Give ne a solution


dear friend no antivirus can delete all the harmful files still some are there as u tell open a list when opening the local hard drive so there is a file present in each drives which do so.
this file name is autorun.inf
to delete the file do the following........
in run command type cmd now ur dos prompt will appear
c:\Documents and Settings\usr>
now give the command
c:\Documents and Settings\usr>cd \
now u will be on c location as
c:\>
now give command
c:\>dir/a
it will shows all the files in cluding hidden
now give command
c:\>attrib -h -s autorun.inf
it will change the file properties
now give the delete comand with forcefully
c:\>del /f autorun.inf
now this file will be removed
do it in all the drives present in u drives
there will be autorun.inf file in all drives delete all files. restart ur system now u can enjoy all the drives will open normally
best of luck.

Mar 29, 2008 | Operating Systems

1 Answer

Comp drives not opening


this is because of autorun.inf file.
so run the following command-
go to run > type cmd >then type
cd\
attrib -r -s -h autorun.inf
del autorun.inf
d:
attrib -r -s -h autorun.inf
del autorun.inf

just execute the same command for all of ur physcal drives
and finally shut down ur computer
then open ur comp,now u can open ur drives by double click.

Mar 01, 2008 | Operating Systems

2 Answers

How to edit registry


1) to edit registry go to start / select run and type regedit. from there you are able to edit registry values. BEWARE because editing registry values may make your windows stop working. you should know what you are doing and you are responsible of the cosnequenses 2) a bat file is a batch file. Batch files are files that allow MS-DOS and Microsoft Windows users to create a lists of commands and/or programs to run once the batch file has been executed. 3) create a file called autorun.inf and type inside [autorun] open=file.exe save your file and write it in the cd you want to autorun the file.exe part must be replaced with the executable you want to load when your CD autoruns

Oct 08, 2007 | Microsoft Windows XP Professional With...

Not finding what you are looking for?
Microsoft Windows Vista Ultimate Edition Logo

123 people viewed this question

Ask a Question

Usually answered in minutes!

Top Microsoft Operating Systems Experts

Brian Sullivan
Brian Sullivan

Level 3 Expert

27725 Answers

Scott Fryer

Level 2 Expert

80 Answers

Alex Krenvalk

Level 2 Expert

401 Answers

Are you a Microsoft Operating System Expert? Answer questions, earn points and help others

Answer questions

Manuals & User Guides

Loading...