kenedy Posted October 5, 2004 Posted October 5, 2004 MHzBoth commands are the same."\..\" - moves one level up in folder structure.
MHz Posted October 5, 2004 Posted October 5, 2004 MHzBoth commands are the same."\..\" - moves one level up in folder structure.Sorry. did not realize the 2 dot reference was intended for what you quoted. Thought that you may have been doing a shorthand skip.
oioldman Posted October 5, 2004 Posted October 5, 2004 Thanks,Will have a go tonight and see how get on.
oioldman Posted October 9, 2004 Posted October 9, 2004 in my cleanup.cmd have %userprofile% and noticed that it did clear stuff from the default user profile and %allusersprolfe% cleared from the rest.In case anybody wanted to know.
`Felix` Posted February 14, 2005 Posted February 14, 2005 or a little cleaner if you want to user the var for other things@echo offcd /d "%userprofile%\..\default user"set DefaultUser=%CD%echo %defaultuser%and here is one for %profiledir%@echo offcd /d "%userprofile%\.."set profiledir=%CD%echo %profiledir%
hfrfc Posted February 14, 2005 Posted February 14, 2005 All u need is HEREps: however i have problems with %tmp% %temp% under my cleanup.cmd. DEL /S /Q "%TMP%\*" is NOT working
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now