Jump to content

Recommended Posts

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
  • Moderators
Posted

@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.

"Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball

How to get your question answered on this forum!

  • Moderators
Posted

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.

"Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball

How to get your question answered on this forum!

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...