|
|||||||
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
#1 |
|
Member (11 bit)
Join Date: Jan 2002
Location: british columbia canada
Posts: 1,361
|
command line
sorry for the dumb question what and where is the command line, is this dos?
i want to use ad-aware with a command line so it will run automatically thankyou |
|
|
|
|
|
#2 |
|
Member (11 bit)
|
The command line (for executing dos commands) can be found in Start>Accesories>Command Prompt.
This is just for windows though, In general, a command prompt or CLI (command line interface) is a text based system for inputing system commands and running programs. Many OS's such as windows 9x, UNIX, linux, and such are heavily based around a CLI
__________________
"The number of UNIX installations has grown to 10, with more expected." -The Unix Programmer's Manual, 2nd edition, June 1972 |
|
|
|
|
|
#3 |
|
Member (11 bit)
Join Date: Jan 2002
Location: british columbia canada
Posts: 1,361
|
hello
i looked for the command line from start and coudnt.i did bring up command.com and opened it.brought up dos command c:/ now to use ad aware it says to do this prompt C:/ ad-aware.exe/auto i typed this in and said bad command what am i doing wrong thankyou |
|
|
|
|
|
#4 |
|
Mondsreitersmann
Join Date: Jul 1999
Location: Skingrad
Posts: 8,781
|
Try this: Right click on the AdAware icon in the desktop, and select Properties. Click (left) on the Shortcut tab. You'll see a field called Destination or something like that (my Win is in spanish so I don't rightly know what sez yours), but it's the first field so you can't miss it. You'll see the command line for this program; something like this: C:\ad-aware.exe (the line can be a lil' different, but it has to say the name of the executable file at the end of it). You only need to add the /auto parameter at the end of the line. Voilà! You're done!
__________________
Darum still, füg' ich mich, wie Gott es will. Nun, so will ich wacker streiten, und sollt' ich den Tod erleiden, stirbt ein braver Reitersmann. Last edited by Nuclear Krusader; 07-23-2002 at 01:41 AM. |
|
|
|
|
|
#5 |
|
Staff
Premium Member
Join Date: Jul 1999
Location: Arlington, TN
Posts: 5,538
|
Try Start/Run/command, then go to the ad-aware directory by typing C:\adawaredir\, then run ad-aware.exe /auto.
Make sure of two things, in Windows it goes like this C:\ not C:/. Also put a space after ad-aware.exe /auto not adware.exe/auto |
|
|
|
|
|
#6 |
|
Member (11 bit)
Join Date: Jan 2002
Location: british columbia canada
Posts: 1,361
|
hi nuc i tried what you said and it brought up a prompt saying wrong path and i tried marving way
c:\windows>adawaredir\ says bad command or filename |
|
|
|
|
|
#7 |
|
Member (10 bit)
|
You need to find the Ad-Aware directory. Whether it be in the root (C:\) or Program Files. What folder did you install Ad-Aware into?
|
|
|
|
|
|
#8 |
|
Mondsreitersmann
Join Date: Jul 1999
Location: Skingrad
Posts: 8,781
|
Perhaps is this one? C:\Program Files\Lavasoft Ad-aware\ad-aware.exe /auto
|
|
|
|
|
|
#9 |
|
Member (11 bit)
Join Date: Jan 2002
Location: british columbia canada
Posts: 1,361
|
i put in program file when i bring up properties it says
target c\program files\lavasoft ad-aware\ad-aware.exe i tried adding/ auto to the end but says wrong path or something like that thanks for your help(sorry nuc didnt notice your reply ill try that)tried that it still says bad command Last edited by newme; 07-23-2002 at 05:40 PM. |
|
|
|
|
|
#10 |
|
Member (11 bit)
Join Date: Jan 2002
Location: british columbia canada
Posts: 1,361
|
does any one have another option for me to try
|
|
|
|
|
|
#11 |
|
Member (10 bit)
|
In Properties > Target Type This:
"C:\Program Files\Lavasoft Ad-aware\Ad-aware.exe" /auto Why don't you just open Ad-Aware and go to Configuration, then check the box next to 'Scan On Windows Startup' - That will automatically scan it for you every time you boot up. Are you trying to write a batch file? This command is really only useful if you're going to execute it in a batch file. |
|
|
|
|
|
#12 |
|
Member (11 bit)
Join Date: Jan 2002
Location: british columbia canada
Posts: 1,361
|
hi hackin cowboy
im trying to learn about batch files and doing things like this i think is baby steps towards trying to understand how these progs work and imvery new to this so i appreciate your patience trying to help me. |
|
|
|
|
|
#13 |
|
Member (10 bit)
|
Ok, I understand what you're trying to do better now. Here is a good site for learning how to write Batch files. In my pervious post I gave you a command, you can use that in your batch file. It should work fine.
Don't be afraid to ask questions, I don't know of anyone on this forum who doesn't enjoy sharing knowledge. |
|
|
|
|
|
#14 |
|
Member (11 bit)
Join Date: Jan 2002
Location: british columbia canada
Posts: 1,361
|
hi hackin cowboy
could you tell me or show me a simple batch file step by step something i could try just to see how it can work.i was looking at the link you showed me and i just dont get it.could you tell me right from the start sitting at my comp what program to use where and how to save it.what makes aprogram open when you want it to.sorry im probably not the brightest bulb in the room thanks again Last edited by newme; 07-25-2002 at 08:42 PM. |
|
|
|
|
|
#15 |
|
Mondsreitersmann
Join Date: Jul 1999
Location: Skingrad
Posts: 8,781
|
Hi there, Newme.
Here's an example (taken from the Diablo 2 CD): [autorun] OPEN=SETUP.EXE this command tells Win to execute the file called SETUP.EXE ICON=DIABLOII.ICO The file is called autorun.inf and you can find this file on almost any commercial CD. You can do it yourself too for your own CDs, assuming you have a CD burner. You just need Notepad. Let me find some more batchfiles and we'll learn together coz I don't know much about them myself. I hardly use them, aside from autoexec.bat that is. |
|
|
|
|
|
#16 |
|
Member (11 bit)
Join Date: Jan 2002
Location: british columbia canada
Posts: 1,361
|
hi nuc i really need help with this and im glad to see you respond .i think if i can just do one or two simple batch files something will click in this brain and ill say,(as i scratch my head) sooo thats how it works.anyways ill keep in contact because i can see you know a considerable amount more than i..
|
|
|
|
|
|
#17 |
|
Member (11 bit)
Join Date: Jan 2002
Location: british columbia canada
Posts: 1,361
|
hi nuclear crusader have you found any more examples.what i would like to do is try to run any maintenence program to run at a certain time.is there a way to do this ,is it possible?i really dont understand the concepts of batch files maybe im thinking there more powerful then what they really are.i found this sit
ehttp://gatsby.tafe.tas.edu.au /batch/index.htm i thought it explained the concepts a little better than the other but im still lost. talk to you soon sorry the link didnt work ill try again http://gatsby.tafe.tas.edu.au/batch/index.htm Last edited by newme; 07-27-2002 at 12:42 PM. |
|
|
|
|
|
#18 |
|
Member (10 bit)
|
Can't you just schedule a task using the Task Scheduler to make the program run?
|
|
|
|
|
|
#19 |
|
Member (11 bit)
Join Date: Jan 2002
Location: british columbia canada
Posts: 1,361
|
i tried that it didnt work you have to be there to select start or whatever prompt is there to allow it to run. iwant it to start at a certain time without me being there and then follow up with another program.even if i could get task scheduler to work i would still like to learn how to do it with a batch file,if its possible.
|
|
|
|
|
|
#20 |
|
Member (10 bit)
|
What do you mean you have to select start? You can schedule the task to start at whatever time you wish. Then once the batch file is executed you can code that file to answer any prompt.
|
|
|
|
|
|
#21 |
|
Member (11 bit)
Join Date: Jan 2002
Location: british columbia canada
Posts: 1,361
|
well i set up my scandisk to go first and when scandisc opens up at the time that i entered there is a start button that neeeds to be clicked on for scan disk to start. i want it to start automatically.i also want defrag to go and a few other programs but they all seem to need someone there to activate them.hope that makes sense
|
|
|
|
|
|
#22 |
|
Mondsreitersmann
Join Date: Jul 1999
Location: Skingrad
Posts: 8,781
|
Well, I remember reading how to make a batch file to run certain programs all at once. But you still need to be there to double-click on the shortcut. I've been looking but I've been unable to find it. However I know where it is, so plz give another day and I'll post it here, newme.
|
|
|
|
|
|
#23 |
|
Staff
Premium Member
Join Date: Jul 1999
Location: Arlington, TN
Posts: 5,538
|
Why would you want scandisk to run every time? What OS is it? You could write a .bat file pretty easy and put it in your startup folder. If you want to defrag daily either add it to the scheduler or get a third party defrag program like Diskkeeper or Vopt that can be automated.
|
|
|
|
|
|
#24 |
|
Member (11 bit)
Join Date: Jan 2002
Location: british columbia canada
Posts: 1,361
|
hello all
i guess im not really making myself clear .what i really would like to do is have my mantience progs run on there own.i want to go to bed at 11:00 my av has its own timer it comes on at 11:00 then i want scandisk to come on at 12:00 then at 1:00 i want my defrag to come on then at 3:00 iwant ad aware to come on.all this happens while im sleeping now i dont know if this is possible, thats why i thought batch files might work .maybe im way off base i dont know if this is possible thats why im asking the pros here , |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|