+1

Generic name to Set output Folder

A DOMS 9 hours ago in IQANscript updated 9 hours ago 0

Hi,

I'm looking to make a script to help our customer to make some adjsutement,backup ... on there machine.

Because they are not happy with computer, I want to simplify them lot of thing.

For exemple, I try to create an output folder on the Desktop to find it easily.

If I put my computer user profil it works

C:\Users\MyName\Desktop\Script

But the tehcnicien doesn't have the same name than me,

and if I put a link with a Windows generic link like this, it doesn't work :

C:\Users\%USERPROFILE%\Desktop\Script...

Image 5240

So, How can I create a folder on the desktop of any computer that will run the script ?

Image 5239

And is it posssible to get a path and work on it in the script ?

for exemple to get the path of the defaut output folder defined in IQANrun option ? 

And to change the path of this defaut folder for example ?