youtuber

Change the folder location

7 posts in this topic

#1 ·  Posted (edited)

Hello, I want to make a folder location D Disk

but how?

I failed this test

Local $KEY = "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer"
Local $USER = @UserName

RegWrite($KEY & "\Shell Folders", "My Pictures", "REG_SZ","D:\Users\" & $USER & "\Pictures")
RegWrite($KEY & "\Shell Folders", "My Video", "REG_SZ","D:\Users\" & $USER & "\Videos")

 

Edited by youtuber

Share this post


Link to post
Share on other sites



Do not have anyone to help :>

 

Share this post


Link to post
Share on other sites

@youtuber you have been around long enough now to know the forum etiquette; please do not bump your threads without waiting 24 hours. Everyone wants their answer right now, but you need to show a bit of patience.

1 person likes this

When you're dead, you don't know you're dead - it's only difficult for those that know you. It's the same way when you're stupid...

My Scripts: SCCM UDFInclude Source with Compiled Script, Windows Firewall UDF

Share this post


Link to post
Share on other sites

much time has passed and I am still waiting for an answer :unsure:

Share this post


Link to post
Share on other sites

Your code, as it is written in post 1, worked just fine for me. Perhaps if you offered more than "I failed this test" as to what you're seeing, people would be more willing to assist.


When you're dead, you don't know you're dead - it's only difficult for those that know you. It's the same way when you're stupid...

My Scripts: SCCM UDFInclude Source with Compiled Script, Windows Firewall UDF

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