home *** CD-ROM | disk | FTP | other *** search
- ^ cp - copies files from source to current directory ^
- if %# == 0
- echo !
- CP copies files from specified source to current directory with
- prompting before copying each file.
- Usage: cp <filespec> ...
- Example: cp c:\Csource\*.c
- !
- exit
- endif
-
- shx -wd %{SH1FILES}sh1tmp.$$$ %0
- for FLINE infile %{SH1FILES}sh1tmp.$$$
- echo Do you want to copy %FLINE [Y/N] ?
- accept YN
- if '%YN' == 'Y' | '%YN' == 'y'
- copy %FLINE
- endif
- endfor
- del %{SH1FILES}sh1tmp.$$$