Page 1 of 1 1
Topic Options
#74092 - 2003-03-19 12:06 AM Switches
paddy Offline
Fresh Scripter

Registered: 2003-03-13
Posts: 9
Loc: ireland
Can someone give me a switch for copying all files and subdirectories in a folder?
Top
#74093 - 2003-03-19 12:11 AM Re: Switches
NTDOC Administrator Offline
Administrator
*****

Registered: 2000-07-28
Posts: 11623
Loc: CA
XCOPY /E
Copies directories and subdirectories, including empty ones.

Top
#74094 - 2003-03-19 12:12 AM Re: Switches
Radimus Moderator Offline
Moderator
*****

Registered: 2000-01-06
Posts: 5187
Loc: Tampa, FL
for what version of kix or windows?
_________________________
How to ask questions the smart way <-----------> Before you ask

Top
#74095 - 2003-03-18 02:55 PM Re: Switches
Kdyer Offline
KiX Supporter
*****

Registered: 2001-01-03
Posts: 6241
Loc: Tigard, OR
While copy with KiX works with files and folders. Only version 4.21 is reported to work recursively.

Kent

[ 18. March 2003, 14:56: Message edited by: kdyer ]
_________________________
Utilize these resources:
UDFs (Full List)
KiXtart FAQ & How to's

Top
#74096 - 2003-03-18 04:15 PM Re: Switches
paddy Offline
Fresh Scripter

Registered: 2003-03-13
Posts: 9
Loc: ireland
copying files and folders from win98 with kix4.21 but it only copies the sub folders but not what is in them. am using /h /s but it is not working.
code:
 $copyOutlookS = J:+"\@wksta\Outlook"
$copyOutlookC = c:\Outlook\
copy $copyOutlookC+"\*.*" $copyOutlookS /h /s


Top
#74097 - 2003-03-18 06:00 PM Re: Switches
paddy Offline
Fresh Scripter

Registered: 2003-03-13
Posts: 9
Loc: ireland
Yes...it only copies the root directory bt does not copy what is in any of the folders in the root.

C:\Windows\Favourites\Media

It copies what is in:

C:\Windows\Favorites\

including the Media folder but not what is in that folder...any solutions?

Top
#74098 - 2003-03-18 06:08 PM Re: Switches
paddy Offline
Fresh Scripter

Registered: 2003-03-13
Posts: 9
Loc: ireland
Never mind...i realised i only had version 4.20.

Thanks all.

Top
#74099 - 2003-03-18 10:21 PM Re: Switches
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
yeah!
I got amazed when you said it didn't work but now I understand it fully as it's expected.

cheers
_________________________
!

download KiXnet

Top
Page 1 of 1 1


Moderator:  Glenn Barnas, NTDOC, Arend_, Jochen, Radimus, Allen, ShaneEP, Ruud van Velsen, Mart 
Hop to:
Shout Box

Who's Online
1 registered (Allen) and 466 anonymous users online.
Newest Members
gespanntleuchten, DaveatAdvanced, Paulo_Alves, UsTaaa, xxJJxx
17864 Registered Users

Generated in 0.058 seconds in which 0.023 seconds were spent on a total of 12 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org