b*****e 发帖数: 223 | 1 可见我有多抓狂了,这么多问题,呜呜
如果 folder 里有 100 zipped file,我怎么可以让他们自动的一个个去 unzip,不需
要我一个个点开,填path做100下 |
b*****n 发帖数: 685 | |
p********a 发帖数: 5352 | |
b*****e 发帖数: 223 | 4 thanks upstairs two! //bow
【在 p********a 的大作中提到】![](/moin_static193/solenoid/img/up.png) : x command
|
D******n 发帖数: 2836 | 5 in that folder ,ctrl+a, use RIGHT mouse button to drag them to a new folder,
select the option to unzip the files in the popup menu.
【在 b*****e 的大作中提到】![](/moin_static193/solenoid/img/up.png) : 可见我有多抓狂了,这么多问题,呜呜 : 如果 folder 里有 100 zipped file,我怎么可以让他们自动的一个个去 unzip,不需 : 要我一个个点开,填path做100下
|
b*****e 发帖数: 223 | 6 did it but no unzip option in the popup menu ah, only copy here and move
here
folder,
【在 D******n 的大作中提到】![](/moin_static193/solenoid/img/up.png) : in that folder ,ctrl+a, use RIGHT mouse button to drag them to a new folder, : select the option to unzip the files in the popup menu.
|
p********a 发帖数: 5352 | 7 You can do it by SAS
first read the folder name, and you can select all the file names into marco
variables. Then use x command to unzip the files
Use the following to get file names-
%sysexec cd &dir; %sysexec dir *.txt /b/o:n >flist;
data indexfile;
length filen $200 ;
infile "&dir./flist" length=reclen;
input filen $varying256. reclen;
run; |
b*****e 发帖数: 223 | 8 谢楼上
lg 上来帮我看了下,那些都是 .exe 的 zip files,就是什么自压缩文件乱七八糟的
,最后还是用 batch file
前三个是run sas,后三个是 unzip files
start/w C:"Program Files"\SAS\SASFoundation\9.2\SAS.exe -sysin Y:\Operations
\Workgroups\SID\NY\NY_SID_2004_AHAL
start/w C:"Program Files"\SAS\SASFoundation\9.2\SAS.exe -sysin Y:\Operations
\Workgroups\SID\NY\NY_SID_2004_CHGS
start/w C:"Program Files"\SAS\SASFoundation\9.2\SAS.exe -sysin Y:\Operations
\Workgroups\SID\NY\NY_SID_2004_CORE
Y:\Operations\Workgroups\SID\NY\UNZIP_NY\NY_SIDC_2004_AHAL.exe /auto Y:\
Operations\Workgroups\SID\NY\UNZIP_NY
Y:\Operations\Workgroups\SID\NY\UNZIP_NY\NY_SIDC_2004_CHGS.exe /auto Y:\
Operations\Workgroups\SID\NY\UNZIP_NY
Y:\Operations\Workgroups\SID\NY\UNZIP_NY\NY_SIDC_2004_CORE.exe /auto Y:\
Operations\Workgroups\SID\NY\UNZIP_NY |