Need a lilttle help using the command prompt!

Status
Not open for further replies.

drzpapi1985

Right off the assembly line
Does anyone know how to auto compete a script using the command prompt in windows?

After i type a command line in Command prompt it asks me
"Are you sure you want to continue <Y/N>:"
How can i auto type yes, Which is the autocommand line for "Y"?
 
OP
D

drzpapi1985

Right off the assembly line
I did do many searches but i just cant seem to find the answer for my question either on Google or on Yahoo..
 
OP
D

drzpapi1985

Right off the assembly line
Thanks buddy but that command doesnt work for me... This is the batch file i tried to run:

vsp1cln.exe

/y (=yes)

Exit

vsp1cln.exe cleans about 200mbs from updates.
What i want is make vista sp1 permanent with just one batch file.
 

Kl@w-24

Slideshow Bob
Umm... Try this:

Code:
vsp1cln.exe /y
exit

Dunno if it'll work, just following the standard procedure.
 
OP
D

drzpapi1985

Right off the assembly line
I tried that command line before but when i double click on the batch file it just opens and closes very quickly, so i dont think it did what it was suppose to..
 

Kl@w-24

Slideshow Bob
Alright then, open up your command prompt and type the path to 'vsp1cln.exe' into it, or simply drag the executable into the cmd window. Then, give a space and type /? after it and hit enter. That should give you the parameters that the executable can take. The command should look something like this:

Code:
<path to executable>\vsp1cln.exe /?
 
OP
D

drzpapi1985

Right off the assembly line
Ok, this is what i typed on the command prompt!
<C:\Windows\System32>\vsp1cln.exe /?
but it says Access Denied.

I even tried by running the command prompt as the administrator but no luck.
 

Kl@w-24

Slideshow Bob
^ ^ ^ remove the < and >. It should look like this:

Code:
C:\Windows\System32\vsp1cln.exe /?
 

Liverpool_fan

Sami Hyypiä, LFC legend
IIRC, you have to use redirection for your keyboard input to a file, but I don't remember the command. Let me search for it....
-----------------------------------------
Posted again:
-----------------------------------------
I think this will work.I don't remember/know whether it will work without creating the file.
Try this:
Create a text file file1.txt and have the data in it as 'Y'. (without the quotes)
Make sure you have the file in the same directory as the program.
Now type:
Code:
vsp1cln.exe < file1.txt

Save it as a batch file. Does that work?

Keep in mind this is an incredibly hackish(read:lame) way to do this, if it works that is...
 
Last edited:
OP
D

drzpapi1985

Right off the assembly line
C:\Windows\System32\vsp1cln.exe /?
does not work for me, it shows "the parameter is incorrect" and i'm sure that the vsp1cln.exe file is located in the the system32 folder.

Liverpool_fan
I followed every one of your steps but it doesnt work for me also...

I guess this isnt possible.
 
Last edited:
OP
D

drzpapi1985

Right off the assembly line
Never mind guys thanks for all your help anyways... I just found out which is the correct command line.
vsp1cln.exe /quiet

:shock:
 
Status
Not open for further replies.
Top Bottom