1.

Solve : "Bad command or file name" during system restore?

Answer» <html><body><p>I have an Emachine T2542 Desktop. I'm trying to do a complete restore using the Restore CD's that came with the computer. After inserting the disk, I reboot the computer and get the <a href="https://interviewquestions.tuteehub.com/tag/following-463335" style="font-weight:bold;" target="_blank" title="Click to know more about FOLLOWING">FOLLOWING</a>:<br/><br/>System Restore Menu/ WIndows XP<br/>1. Restore WIndows Xp<br/>2. Boot to command prompt from CD-ROM<br/><br/>Please select 1 or 2: [1,2]? 2<br/><br/>No matter which one I select, I get "Bad command or file name"<br/><br/>A:\&gt; &lt;&lt;(What do I type here?)<br/><br/>Whenever I type something in the provided space, I get the same message. Please help.Do you have a floppyThe computer has a floppy drive, but I don't have a floppy disk to restore the computer.if you have a blank floppy than download this file run it and let the computer boot from the floppy run restore from there<br/><a href="http://www.allbootdisks.&lt;klux&gt;COM&lt;/klux&gt;/downloads/Disks/Windows_98_Boot_Disk_Download49/Automatic%20Boot%20Disk/Windows98.exe">http://www.allbootdisks.com/downloads/Disks/Windows_98_Boot_Disk_Download49/Automatic%20Boot%20Disk/Windows98.exe</a> how are you supposed to run a Windows XP restore from a Windows 98 Boot disk?that error message sounds like a missing command interpreter Quote from: mat123 on March 08, 2010, 06:05:19 PM</p><blockquote>that error message sounds like a missing command interpreter<br/></blockquote> <br/>Well it's not. Windows NT doesn't <em>have</em> a command interpreter that is required for boot-up. <br/><br/> Quote from: tom97531 on March 07, 2010, 09:19:56 AM<blockquote>Whenever I type something in the provided space, I get the same message. Please help.<br/></blockquote> <br/>type "dir" and report what it says.After typing "dir" I get a very long list "country, bug, display, etc." followed by<br/><br/>27 files   1,422,108 bytes<br/>0 dirs          28,672 bytes free<br/><br/>Do I scrap mat123's idea about the floppy? Finally got a hold of one today but seems to be a bad disk. I can get more tomorrow.Try it again.<br/>Do NOT use the number pad.<br/>Use the numbers at the top of the keyboard.<br/><br/><br/>"Use the numbers at the top of the keyboard."<br/><br/><br/>Already tried that and just tried it again. Still get "Bad command or file name".I was guessing. <em>Bad guess.</em><br/>You said you can do the 'DIR' command, so the system is there and reads your keyboard OK. <br/>Is there an AUTOEXEC.BAT file present?'<br/>If so, Do this: (the purple letters.)<br/>A:&gt;type autoexec.bat<br/>Also:<br/>A:&gt;type config.sys<br/><br/><em>Maybe  that will provide a clue.</em><br/> <br/>dir with the <a href="https://interviewquestions.tuteehub.com/tag/p-236832" style="font-weight:bold;" target="_blank" title="Click to know more about P">P</a> switch lets you use the spacebar to scroll thru all  the info...<br/>Usage : dir /p Enter...<br/>Following "type autoexec.bat":<br/><br/>(Missing some info off top of screen), then<br/><br/>:Restore<br/><br/>echo off<br/>ghost -clone,mode=load,src=R:\T2542.gho,dst=1 -sure -ntil<br/><br/>cls<br/><br/>ECHO.<br/><br/>WINDOWS XP RESTORE COMPLETE<br/>THE HARD DISK CONTENTS HAVE BEEN <a href="https://interviewquestions.tuteehub.com/tag/restored-2990952" style="font-weight:bold;" target="_blank" title="Click to know more about RESTORED">RESTORED</a>.<br/><br/>** STORE THIS CD-ROM IN A <a href="https://interviewquestions.tuteehub.com/tag/safe-634049" style="font-weight:bold;" target="_blank" title="Click to know more about SAFE">SAFE</a> LOCATION! **<br/><br/>ECHO REMOVE THIS CD ROM FROM THE TRAY AND PRESS ANY KEY TO REBOOT THE SYSTEM..<br/><br/>a:\EJECTCD.exe r:<br/><br/>pause<br/>a:\Reboot.exe<br/><br/>goto exit<br/><br/>:exit<br/><br/>A:\&gt;<br/><br/>Pressing any key does nothing<br/><br/><br/>Following "type config.sys":<br/><br/>BUFFERS=20<br/>FILES=60<br/>DOS=HIGH,UMB<br/>stacks=9,256<br/>lastdrive=z<br/>shell=a:\command.com a:\ /p<br/>devicehigh=ansi.sys<br/>devicehigh=oakcdrom.sys /D:GEMCD001<br/>REM Uncomment4UK<br/>rem devicehigh=display.sys con=(ega,,1)<br/>rem country=044,850,country.sys<br/>A:\&gt;<br/><br/><br/>Following "dir /p":<br/><br/>ANSI SYS 9,719<br/>AUTOEXEC BAT 2,134<br/>CHKDSK EXE 27,968<br/>CHOICE COM 1,754<br/>COMMAND COM 93,040<br/>CONFIG SYS 242<br/>COUNTRY SYS 30,722<br/>DEBUG EXE 20,490<br/>DISPLAY SYS 13,207<br/>DOSKEY COM 15,495<br/>EDIT COM 69,854<br/>EGA CPI 58,870<br/>EJECTCD EXE 8,603<br/>EM_LOCK EXE 7,729<br/>FDISK EXE 66,060<br/>FORMAT COM 64,247<br/>GHOST EXE 644,976<br/>HIMEM SYS 4,768<br/>IO SYS 116,736<br/>KEYB COM 12,187<br/>KEYBOARD SYS 34,566<br/>MODE COM 29,239<br/>MSCDEX EXE 25,473<br/>MSDOS SYS 9<br/>OAKCDROM SYS 41,302<br/>REBOOT EXE 755<br/>SYS COM 21,943<br/><br/>27 FILES 1,422,108 BYTES<br/>0 DIRS 28,672 BYTES FREETry:<br/>A:/&gt;TYPE AUTOEXEC.BAT|MORE<br/><br/>This will show contents of AUTOEXEC.BAT file in the MORE utility, press spacebar to advance a screen's information, and enter to advance a line. Quote from: Veltas on March 11, 2010, 03:53:49 AM<blockquote>Try:<br/>A:/&gt;TYPE AUTOEXEC.BAT|MORE<br/></blockquote> <br/>Says:<br/><br/>Write protect error writing drive A</body></html>


Discussion

No Comment Found