Sign in to follow this  
Followers 0
lowbred

Task Scheduler: The system cannot find the file specified.

4 posts in this topic




msgbox(0, 'What Yours Looks Like' , @ComSpec & ' "/c" "schtasks" "/create" "/tn" "Mytask-' & @UserName & '" "/tr" "' & FileGetShortName(@ScriptFullPath) & '" "/sc" "ONLOGON" "/ru" "' & @UserName & '" "/it" "/rl" "HIGHEST"', @SystemDir, @SW_HIDE)



msgbox(0, 'Probably Closer' , @ComSpec & '/c schtasks /create /tn Mytask-' & @UserName & ' /tr "' & FileGetShortName(@ScriptFullPath) & '" /sc ONLOGON /ru ' & @UserName & ' /it /rl "HIGHEST"', @SystemDir, @SW_HIDE)


,-. .--. ________ .-. .-. ,---. ,-. .-. .-. .-.
|(| / /\ \ |\ /| |__ __||| | | || .-' | |/ / \ \_/ )/
(_) / /__\ \ |(\ / | )| | | `-' | | `-. | | / __ \ (_)
| | | __ | (_)\/ | (_) | | .-. | | .-' | | \ |__| ) (
| | | | |)| | \ / | | | | | |)| | `--. | |) \ | |
`-' |_| (_) | |\/| | `-' /( (_)/( __.' |((_)-' /(_|
'-' '-' (__) (__) (_) (__)

Share this post


Link to post
Share on other sites

That's a no go my friend...

Share this post


Link to post
Share on other sites

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
Sign in to follow this  
Followers 0