kenedy Posted October 5, 2004 Share Posted October 5, 2004 MHzBoth commands are the same."\..\" - moves one level up in folder structure. Link to comment Share on other sites More sharing options...
MHz Posted October 5, 2004 Share 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. Link to comment Share on other sites More sharing options...
oioldman Posted October 5, 2004 Share Posted October 5, 2004 Thanks,Will have a go tonight and see how get on. Link to comment Share on other sites More sharing options...
oioldman Posted October 9, 2004 Share 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. Link to comment Share on other sites More sharing options...
`Felix` Posted February 14, 2005 Share 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% Link to comment Share on other sites More sharing options...
hfrfc Posted February 14, 2005 Share 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 Link to comment Share on other sites More sharing options...
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