>>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.
I showed the DATA subfolder as an example. Actually there are many subfolders to the \appname\appname.
What if I rename the entire - long - folder name as:
rename "c:\appname\appname\*.*" to "c:\appname\*.*"
Will it work?
Thank you.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham