Grated Posted November 21, 2007 Posted November 21, 2007 Hi, I have 2 questions . 1) Is there a command to delete/empty a windows (XP) recycle bin? 2) Is there a way to know under wich user you are logged in on a PC? (XP)? (I want to get to a folder under the logged in user so if I get the logged in user, I can go there) Thanks
herewasplato Posted November 21, 2007 Posted November 21, 2007 (edited) ...2) Is there a way to know under wich user you are logged in on a PC? (XP)? (I want to get to a folder under the logged in user so if I get the logged in user, I can go there)...@UserName...but be aware that the path "C:\Documents and Settings\....." may not be the same as the person logged on since a person can change their userid and the folder does not change.Edit: FileRecycleEmpty()Edit2: see @UserProfileDir Edited November 21, 2007 by herewasplato [size="1"][font="Arial"].[u].[/u][/font][/size]
Developers Jos Posted November 21, 2007 Developers Posted November 21, 2007 Question back: have you tried to look for this in the helpfile first ? SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past.
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