|
-
Oct 29th, 2010, 05:47 PM
#1
Member
Re: Save file, need to determine XP/7
 Originally Posted by SlimJim
I just tried this:
If Not System.IO.Directory.Exists("%USERPROFILE%\test") Then
System.IO.Directory.CreateDirectory("%USERPROFILE%\test")
End If
But nothing. no error and no created folder. Any ideas?
Ok, well I guess it's not the best method. Try hitting this folder from the run command: WinKey + R - Paste: %USERPROFILE%\test
%USERPROFILE% is C:\Users\USERNAME\ in Win7, not desktop or Documents and Settings.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|