Jump to content

Recommended Posts

Posted

Hey I did search for this but only got a thread which was resolved by SFX so I didnt get an example of the move syntax, anyway I need to move because I create some directories in my start menu and want to move the .lnk files within them to tidy up abit.

So I was just testing now with a file on my pc but I cant seem to crack it..

G:\My Documents\Firefox Downloads>MOVE "G:\My Documents\Firefox Downloads\instal
ler.ico "G:\My Documents"
The filename, directory name, or volume label syntax is incorrect.

G:\My Documents\Firefox Downloads>MOVE "G:\My Documents\Firefox Downloads\instal
ler.ico "G:\My Documents\installer.ico"
The filename, directory name, or volume label syntax is incorrect.

G:\My Documents\Firefox Downloads>

Any help appreciated.

Also, intead of creating a new thread, pskill is part of windows XP Pro isnt it? Or do I have to download it and put it in $$\system32?

Thanks again


Posted

you're missing a quote

MOVE "G:\My Documents\Firefox Downloads\instal
ler.ico" "G:\My Documents"

Also, for syntax, ever think of opening up a dos prompt and type MOVE /? ?

And no, pskill is NOT part of Windows XP as it's made be a COMPLETELY different company. However, TASKKILL is part of Windows XP and in most cases has the same result.

Posted
you're missing a quote

MOVE "G:\My Documents\Firefox Downloads\instal
ler.ico" "G:\My Documents"

Also, for syntax, ever think of opening up a dos prompt and type MOVE /? ?

And no, pskill is NOT part of Windows XP as it's made be a COMPLETELY different company. However, TASKKILL is part of Windows XP and in most cases has the same result.

Yeah I type in "help move" in CMD and it gives me a list, which I was working by.

Thanks allanol, ill use task kill then on my apps :) the reason I ask for steam install.

I know this should be discussed in app switches but to save another thread -

basically I kill the isntall after i use sleep 25 on it, as it asks if i want to restart even with /S as its a wise installer.

But I cant remember if steam launches itself after, so im going to put taskkill steam.exe anyway, will i get any error messages/problems if i try to kill a process that is not there?

Posted

Steam does try to start itself (if memory serves)

You'll get an error, but it won't be an error that can stop the install. It'll just be a line of text stating that the "image" wasn't found.

Posted

just remember taskkill's usage is slightly different from pskill..

taskkill.exe /f /IM iexplore.exe

Will kill an Internet Explorer window

taskkill.exe /f /IM iexplore.exe /FI "WINDOWTITLE eq Yahoo!"

Will kill an Internet Explorer window titled Yahoo!

Posted

heh got to pimp AutoIt...yeah off topic to some degree.

FileMove ( "G:\My Documents\Firefox Downloads\installer.ico", "G:\My Documents\installer.ico" , 1 )
ProcessClose ( "iexplore.exe" )
WinClose ( "Yahoo!" )

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...