Question : compact command syntax help

I'm trying to uncompact a directory on a network drive. I'm trying to do so in a batch file. This is the syntax I'm using:
compact /u /s v:\Superior Office Shared Directory\Arc Data\esri\ /i v:\Superior Office Shared Directory\Arc Data\esri\*.*
I've tried this string and a number of permutations with it, but I can't seem to get it right. The closest I've gotten is to be able to uncompress the entire "superior office shared directory". Could someone please provide the correct syntax?

Answer : compact command syntax help

Remove the trailing backslash from the path, as below.

You may also be running into a problem if any of the file paths are longer than the maximum length for Windows.  To avoid this you might try mapping a network drive directly to the esri folder and then running the command against that.

1:
compact /u /s:"v:\Superior Office Shared Directory\Arc Data\esri" /i *.*
Random Solutions  
 
programming4us programming4us