I am looking for a VB script (vbs) that will open a file based on its own file name.
Like I would name the vbs file 3600. Inside, the scrip would read its own file name and set it as a constant. Then I could open a fliel like (the constant)&.pdf.
The total script will be more complicated but I need the script to read its own file name to be able to manipulate other files of differnt types but with the same file name.
I will provide an example if this is confusing.
Like I would name the vbs file 3600. Inside, the scrip would read its own file name and set it as a constant. Then I could open a fliel like (the constant)&.pdf.
The total script will be more complicated but I need the script to read its own file name to be able to manipulate other files of differnt types but with the same file name.
I will provide an example if this is confusing.