>Hi,
>
>A customer copied all files of my app from one computer to another. Now on the new computer, the folder structure is as follows:
>
>c:\appname\appname\data
>
>Is it possible for me to remove the first folder 'appname' so that the appname with all files and subfolders would be in the root? I know that I can XCOPY but it is a long process since the second appname has many folders and many files.
>TIA
It's on the same disk, so a rename to new path will do it (from fox):
rename "c:\appname\appname\data\*.*" to "c:\appname\data\*.*"
Just make sure that the target folders exist.