Greetings Gurus, I'm trying to populate a textfile with selected filenames using the {os} code but the filenames are just the regular filenames (not in the desired 8.3 format). >copy {os|filem} as rew.txt
Several other things go wrong with that command if multiple files are selected, but let's tackle that separately.
When I run it here, it puts a short filename (8.3) into the resultant file.
If you aren't getting a short name, it may be because short names are not enabled on the device/partition you are selecting files from. Is that that case? What does the Short Name column show if you add that?
Looking at my own machine, it looks like Windows now defaults to enabling short names only on the main C:\ drive, and not on secondary drives, unless explicitly told otherwise.
Short name is full name on drive d (where I tried it) Drive c is fine.
Evidently OS level as you said.
I'm aware of the multiple confirmations when multiple files selected, I've been using runonce command to overcome this. Thanks