How to handle filenames with spaces?

前端 未结 7 802
后悔当初
后悔当初 2020-12-11 03:37

I use Perl on windows(Active Perl). I have a perl program to glob the files in current folder, and concatenate them all using dos copy command called from within using syste

7条回答
  •  一个人的身影
    2020-12-11 04:29

    The built in "rename" command also moves files:

        rename $source, $destination;   # ...and move
    

    I use this on windows all the time.

提交回复
热议问题