Hello fellow users
Not being a programmer, I am struggling somewhat with what should be a simple process. I hope that someone will be able to advise
I am finding a folder path as follows...
DestFolder = Registry.GetValue(HKEY_LOCAL_MACHINE, "SOFTWARE\\Microsoft\\Windows\\CurrentVersion\ \App Paths\\Tutorials.exe", "Path", false);
This returns a folder "C:\Program Files (x86)\MTSL\SSS\tutorials"
This becomes my destination folder fine and I can create it no problem.
What I want to do is go up the folder tree and create a folder "C:\Program Files (x86)\MTSL\SSS\AutoPlay"
But I cannot find the correct syntax in command "Folder.Create"
As I said, it's a simple problem, but I've looked through the help documentation and no attempts at using ../ and ../../ with and without quotes does the trick.
Any assistance would be much appreciated. Thank you.
Nige
Not being a programmer, I am struggling somewhat with what should be a simple process. I hope that someone will be able to advise
I am finding a folder path as follows...
DestFolder = Registry.GetValue(HKEY_LOCAL_MACHINE, "SOFTWARE\\Microsoft\\Windows\\CurrentVersion\ \App Paths\\Tutorials.exe", "Path", false);
This returns a folder "C:\Program Files (x86)\MTSL\SSS\tutorials"
This becomes my destination folder fine and I can create it no problem.
What I want to do is go up the folder tree and create a folder "C:\Program Files (x86)\MTSL\SSS\AutoPlay"
But I cannot find the correct syntax in command "Folder.Create"
As I said, it's a simple problem, but I've looked through the help documentation and no attempts at using ../ and ../../ with and without quotes does the trick.
Any assistance would be much appreciated. Thank you.
Nige
Comment