PDA

View Full Version : C Prompt


dispatcher
December 5th 03, 01:12 AM
I need to run my virus program from the c prompt to get the command lines but
can't figure out how. I've used the help command to get a list of useable
commands for the prompt but can't find one to run the program.

Thanks

Sharon F
December 5th 03, 01:12 AM
dispatcher wrote:
> I need to run my virus program from the c prompt to get the command lines
> but can't figure out how. I've used the help command to get a list of
> useable commands for the prompt but can't find one to run the program.
>
> Thanks

The command needed should be in the documentation for the antivirus program.
Basically to start a program you need to type the path to the executable
file and press enter. If the path contains spaces, enclose it in quote
marks. The program may require "switches" after the executable to call up
certain functions. Example: antivirus.exe /scan

You can try antivirus.exe /? or antivirus.exe /help at the command prompt.
If the program authors built in some help text, they will show up on the
screen. NOTE: antivirus.exe is an example. Replace it with the name of your
a/v program's executable.

If there is a virus that needs to removed from a state where Windows is not
running, using the command prompt window is not going to work. Most CDs for
antivirus programs are bootable. Also, most antivirus programs include a
tool for creating a floppy disk set that covers booting and scanning. If
your system uses NTFS instead of FAT32, check the antivirus program's
documentation for caveats.


--
Sharon F
Microsoft MVP, Windows - Shell/User

R. C. White
December 5th 03, 01:12 AM
Hi, Dispatcher.

Start | All Programs | Accessories | Command Prompt.

Or Start | Run... and type in: cmd.exe

Or, for the 16-bit version: Start | Run... and type in: command.com

RC
--
R. C. White, CPA
San Marcos, TX

Microsoft Windows MVP

"dispatcher" > wrote in message
. 1.4...
> I need to run my virus program from the c prompt to get the command lines
but
> can't figure out how. I've used the help command to get a list of useable
> commands for the prompt but can't find one to run the program.
>
> Thanks

dispatcher
December 5th 03, 01:12 AM
"Sharon F" > wrote in
:

> dispatcher wrote:
>> I need to run my virus program from the c prompt to get the command
>> lines but can't figure out how. I've used the help command to get a
>> list of useable commands for the prompt but can't find one to run the
>> program.
>>
>> Thanks
>
> The command needed should be in the documentation for the antivirus
> program. Basically to start a program you need to type the path to the
> executable file and press enter. If the path contains spaces, enclose it
> in quote marks. The program may require "switches" after the executable
> to call up certain functions. Example: antivirus.exe /scan
>
> You can try antivirus.exe /? or antivirus.exe /help at the command
> prompt. If the program authors built in some help text, they will show
> up on the screen. NOTE: antivirus.exe is an example. Replace it with
> the name of your a/v program's executable.
>
> If there is a virus that needs to removed from a state where Windows is
> not running, using the command prompt window is not going to work. Most
> CDs for antivirus programs are bootable. Also, most antivirus programs
> include a tool for creating a floppy disk set that covers booting and
> scanning. If your system uses NTFS instead of FAT32, check the antivirus
> program's documentation for caveats.
>
>

Thanks Sharon,

Using the full path did the trick. My email program needs the command line
to use the virus scanner.

Nancy

Sharon F
December 5th 03, 01:12 AM
dispatcher wrote:
> "Sharon F" > wrote in
> :
>
>> dispatcher wrote:
>>> I need to run my virus program from the c prompt to get the command
>>> lines but can't figure out how. I've used the help command to get a
>>> list of useable commands for the prompt but can't find one to run the
>>> program.
>>>
>>> Thanks
>>
>> The command needed should be in the documentation for the antivirus
>> program. Basically to start a program you need to type the path to the
>> executable file and press enter. If the path contains spaces, enclose it
>> in quote marks. The program may require "switches" after the executable
>> to call up certain functions. Example: antivirus.exe /scan
>>
>> You can try antivirus.exe /? or antivirus.exe /help at the command
>> prompt. If the program authors built in some help text, they will show
>> up on the screen. NOTE: antivirus.exe is an example. Replace it with
>> the name of your a/v program's executable.
>>
>> If there is a virus that needs to removed from a state where Windows is
>> not running, using the command prompt window is not going to work. Most
>> CDs for antivirus programs are bootable. Also, most antivirus programs
>> include a tool for creating a floppy disk set that covers booting and
>> scanning. If your system uses NTFS instead of FAT32, check the antivirus
>> program's documentation for caveats.
>>
>>
>
> Thanks Sharon,
>
> Using the full path did the trick. My email program needs the command line
> to use the virus scanner.
>
> Nancy

You're welcome! Glad to hear that you have this taken care of.


--
Sharon F
Microsoft MVP, Windows - Shell/User

Google