So at my last shop we had a .bas file that would create folders. here is what i am doing.
What it used to do would create a folder for part number(if it didnt already exist) then each sub folder.
then i could use this same code in every program since it pulls in the part number, operation, serial, from a text file and assigns them a variable.
cant get this script to work: Get error message "Error on line: 20 - OLE Automation method exception"
"Error executing basic script" C:\USERS\PUBLIC\TEST\FOLDER.BAS:Main"
cant get this script to work: Get error message "Error on line: 20 - OLE Automation method exception"
"Error executing basic script" C:\USERS\PUBLIC\TEST\FOLDER.BAS:Main"
Oh, Sorry i ve zero experience in basic. I just followed post #5 and copied it and changed the path2 to the folder name as he said
But now i realise he problably meant change the folder name in the pc-dmis code.
So in the bas script it should be:
Set Pathname=PCDPartProgram.GetVariableValue("PATH2")
And in the pc-dmis code i assign path2 to whatever folder i want it to be saved in?