Re: Batch file

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Hahaha. There is probably a need to update your joke a little
There is no DOS under Windows, there is only a Command Prompt.
DOS is an operating system, same as Unix. Let's not confuse the
OP with inappropriate buzzwords!


"Rob" <rob_brownNOSPAM@xxxxxxxxxxxxxxxxxx> wrote in message
news:OFQ89l0ZFHA.3976@xxxxxxxxxxxxxxxxxxxxxxx
> http://www.janko.at/Humor/Microsoft/Undokumentierte%20DOS-Kommandos.htm
>
> I used to work in a computer store and one day we had a gentleman call in
> with a smoking power supply. The service rep was having a bit of trouble
> convincing this guy that he had a hardware problem.Service Rep: Sir,
> something has burnt within your power supply.
>
> Customer:
> I bet that there is some command that I can put into the Autoexec.bat that
> will take care of this.
>
> Service Rep:
> There is nothing that software can do to help you with this problem.
>
> Customer:
> I know that there is something that I can put in... some command... maybe
it
> should go into the Config.sys.
>
> [After a few minutes of going round and round]
>
> Service Rep:
> Okay, I am not supposed to tell anyone this but there is a hidden command
in
> some versions of DOS that you can use. I want you to edit your
Autoexec.bat
> and add the last line as C:\DOS\NOSMOKE and reboot your computer.
>
> [Customer does this]
>
> Customer:
> It is still smoking.
>
> Service Rep:
> I guess you need to call MicroSoft and ask them for a patch for the
> NOSMOKE.EXE.
>
> [The customer then hung up. We thought that we had heard the last of this
> guy but NO... he calls back four hours later]
>
> Service Rep:
> Hello Sir, how is your computer?
>
> Customer:
> I call MicroSoft and they said that my Power Supply is incompatible with
> their NOSMOKE.EXE and that I need to get a new one. I was wondering when I
> can have that done and how much it will cost...
>
> Moral: Remember those hidden DOS commands!
>
> "Royce" <Royce@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
> news:E07B223E-E274-4F97-807A-2B86753298BA@xxxxxxxxxxxxxxxx
> > i am aware of the quotes and when to use them. correct me if i wrong,
you
> use
> > them when there are spaces in the path. "%Userprofile%\Desktop\test.txt"
> > should work the same as %Userprofile%\Desktop\test.txt and the exit
thing
> is
> > just something i have always done : ) i was unaware of the exit /b vs.
> exit.
> > learn something new everyday. so pegasus when would exit be needed?
> >
> >
> > "Pegasus (MVP)" wrote:
> >
> > > I wasn't even aware of the "Title" command. Good one!
> > > Your code contains a small error. All your redirections should read
> > >
> > > >> "%Userprofile%\Desktop\test.txt"
> > >
> > > i.e. with the surrounding double quotes (which I'm sure you're aware
> of!).
> > > Furthermore, the "exit" command is superfluous.
> > >
> > >
> > > "Royce" <Royce@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
> > > news:43733E19-6F67-4F01-A3EA-7316AAB0C97A@xxxxxxxxxxxxxxxx
> > > > Or this...
> > > >
> > > > @echo off
> > > > title COPYING FILES...
> > > > for /l %%i in (1,1,11) do echo.
> > > > echo Please Wait While Files Are Being Copied...
> > > > echo Started Copying Files On %date% At %time% >>
> > > > %Userprofile%\Desktop\test.txt
> > > > xcopy C:\test G:\backup /e /c /f /h /y >>
> %Userprofile%\Desktop\test.txt
> > > > echo Stopped Copying Files On %date% At %time% >>
> > > > %Userprofile%\Desktop\test.txt
> > > > exit
> > > >
> > > > "George Schneider" wrote:
> > > >
> > > > > I need some help on this one. I want to copy all files from my
> C:\test
> > > to
> > > > > G:\Backup. In addition I want to create a text file that displays
> the
> > > date
> > > > > and time started and date and time finished. I want to script
using
> a
> > > batch
> > > > > file.
> > > > >
> > >
> > >
> > >
>
>


.



Relevant Pages

  • Re: just starting
    ... after you run the test.exe it flashes open the DOS window and closes quickly ... ... I know that a "close on exit" command is "checked" for the application and I know to just open the default properties and de- ... I assume test.exe is a Console App which actually runs under cmd.exe, the console command processor. ... When you double-click test.exe in Explorer, Windows executes a pseudo command "cmd /c test.exe". ...
    (comp.programming)
  • Re: Batch file
    ... Customer: ... I bet that there is some command that I can put into the Autoexec.bat that ... I guess you need to call MicroSoft and ask them for a patch for the ... > should work the same as %Userprofile%\Desktop\test.txt and the exit thing ...
    (microsoft.public.win2000.general)
  • Re: MS DOS
    ... No they didn't You can't locate MS DOS in XP because it doesn't exit. ... Call the Command Line Interface DOS if you want, ...
    (microsoft.public.windowsxp.general)
  • Re: Defeating The Top 1%; Request For Criticism
    ... The basic building block of all armies, such as the customer group, is ... The smallest group of soldiers organized to ... A platoon consists of 16 to 44 soldiers (2 ... concentrated within a single city neighborhood, would command a very ...
    (sci.econ)
  • Re: Why is network reading slow?
    ... I am using the DOS command prompt's copy command. ... why such an incredibly tiny buffer? ... DWORD nTotal = 0; ...
    (microsoft.public.vc.mfc)