Page 1 of 2 12>
Topic Options
#35811 - 2003-01-29 04:55 PM Kixtart does not recognize folders that begin with a dot
André Offline
Fresh Scripter

Registered: 2003-01-29
Posts: 11
Loc: Zürich, Switzerland
I want to copy a config file into a folder which name begins with a dot, however Kixtart does not recognize the folder and does not copy

COPY "$DLSERVER\updates\jinitiator\CFG\test.txt" "C:\Documents and Settings\@userid\.java\"

The folder .java cannot be renamed. Any suggestions?

Top
#35812 - 2003-01-29 05:00 PM Re: Kixtart does not recognize folders that begin with a dot
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
COPY "$DLSERVER\updates\jinitiator\CFG\test.txt" "C:\Documents and Settings\@userid\.java\test.txt"

maybe?
_________________________
!

download KiXnet

Top
#35813 - 2003-01-29 05:02 PM Re: Kixtart does not recognize folders that begin with a dot
Jochen Administrator Offline
KiX Supporter
*****

Registered: 2000-03-17
Posts: 6380
Loc: Stuttgart, Germany
Yeah !

welcome to the board #2 [Big Grin]
_________________________



Top
#35814 - 2003-01-29 05:04 PM Re: Kixtart does not recognize folders that begin with a dot
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
what? #2?
_________________________
!

download KiXnet

Top
#35815 - 2003-01-29 05:20 PM Re: Kixtart does not recognize folders that begin with a dot
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11165
Loc: Boston, MA, USA
Don't know either. However, I'm seeing posts double so I must be drunk [Wink]
_________________________
There are two types of vessels, submarines and targets.

Top
#35816 - 2003-01-29 05:21 PM Re: Kixtart does not recognize folders that begin with a dot
André Offline
Fresh Scripter

Registered: 2003-01-29
Posts: 11
Loc: Zürich, Switzerland
no it does not work either, we have tried anything, Kixtart cannot copy files into that .java folder, when you remove the dot then it works, but the we cannot use this folder anymore because its a standard folder for a java application
Top
#35817 - 2003-01-29 05:28 PM Re: Kixtart does not recognize folders that begin with a dot
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11165
Loc: Boston, MA, USA
Not surprised about this behavior as you cannot even create a folder like .JAVA because the Windows function complains about an incorrect filename.
_________________________
There are two types of vessels, submarines and targets.

Top
#35818 - 2003-01-29 05:33 PM Re: Kixtart does not recognize folders that begin with a dot
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
for me it says: "give a filename"

stupid w2k.
_________________________
!

download KiXnet

Top
#35819 - 2003-01-29 05:37 PM Re: Kixtart does not recognize folders that begin with a dot
André Offline
Fresh Scripter

Registered: 2003-01-29
Posts: 11
Loc: Zürich, Switzerland
.java is automatically generated by each java vm, this is not the clue. all java applications under windows 2000 work properly, this is standard on all of our 220 clients. when whe copy this file in the command prompt by using dos syntaxes then it can be copied into .java without any problems. only kixtart causes problems, seems that we found a bug!
Top
#35820 - 2003-01-29 05:43 PM Re: Kixtart does not recognize folders that begin with a dot
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11165
Loc: Boston, MA, USA
Not necessarily. If the underlying Windows API prohibits copying into those folders, then it's a Windows API problem and not a KiXtart problem.
_________________________
There are two types of vessels, submarines and targets.

Top
#35821 - 2003-01-29 05:45 PM Re: Kixtart does not recognize folders that begin with a dot
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
I tried this with 4.20 rc-2 only.

I manually created the ".java" folder and upper folder did:
copy @scriptdir+"\test.txt" @scriptdir+"\.java\test.txt"

and it worked just fine.
I can't see bug in this.
_________________________
!

download KiXnet

Top
#35822 - 2003-01-29 10:34 PM Re: Kixtart does not recognize folders that begin with a dot
ShaneEP Moderator Offline
MM club member
*****

Registered: 2002-11-29
Posts: 2127
Loc: Tulsa, OK
Andre...

quote:

when whe copy this file in the command prompt by using dos syntaxes then it can be copied into .java without any problems.

Maybe then a shell command would work?

code:
 
shell '%comspec% /c COPY "source" "destination"'


Top
#35823 - 2003-01-29 11:39 PM Re: Kixtart does not recognize folders that begin with a dot
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
well, it should.

still, I must remind that I found no problem using kix's internal copy command
_________________________
!

download KiXnet

Top
#35824 - 2003-01-30 12:47 AM Re: Kixtart does not recognize folders that begin with a dot
ShaneEP Moderator Offline
MM club member
*****

Registered: 2002-11-29
Posts: 2127
Loc: Tulsa, OK
I am also using the new 4.20.0.0. And it worked for me as well.

code:
 
COPY "$DLSERVER\updates\jinitiator\CFG\test.txt" "%userprofile%\.java\test.txt"


Top
#35825 - 2003-01-30 09:59 AM Re: Kixtart does not recognize folders that begin with a dot
André Offline
Fresh Scripter

Registered: 2003-01-29
Posts: 11
Loc: Zürich, Switzerland
.java is automatically generated by each java vm, this is not the clue. all java applications under windows 2000 work properly, this is standard on all of our 220 clients. when whe copy this file in the command prompt by using dos syntaxes then it can be copied into .java without any problems. only kixtart causes problems, seems that we found a bug!
Top
#35826 - 2003-01-30 10:02 AM Re: Kixtart does not recognize folders that begin with a dot
Jochen Administrator Offline
KiX Supporter
*****

Registered: 2000-03-17
Posts: 6380
Loc: Stuttgart, Germany
Andre,

you repeat yourself [Big Grin]

What version of Kixtart are you using ?
_________________________



Top
#35827 - 2003-01-30 10:09 AM Re: Kixtart does not recognize folders that begin with a dot
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
mm...
I think I repeat myself too:
I tried the copy with kix and it worked just fine!
_________________________
!

download KiXnet

Top
#35828 - 2003-01-31 12:08 AM Re: Kixtart does not recognize folders that begin with a dot
André Offline
Fresh Scripter

Registered: 2003-01-29
Posts: 11
Loc: Zürich, Switzerland
we are using version 4.12

no success so far

Top
#35829 - 2003-01-31 12:16 AM Re: Kixtart does not recognize folders that begin with a dot
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
ok, I tried with 4.11 also: IT WORKS!

the folder has to exist though...
don't remember was it 4.12 that automatically created the folders...
_________________________
!

download KiXnet

Top
#35830 - 2003-01-31 12:59 AM Re: Kixtart does not recognize folders that begin with a dot
Jochen Administrator Offline
KiX Supporter
*****

Registered: 2000-03-17
Posts: 6380
Loc: Stuttgart, Germany
It exists anyway ... .java was there before the Hen !

Andre

Can you give us the complete code ? Please ?
_________________________



Top
Page 1 of 2 12>


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

Who's Online
0 registered and 657 anonymous users online.
Newest Members
M_Moore, BeeEm, min_seow, Audio, Hoschi
17883 Registered Users

Generated in 0.16 seconds in which 0.117 seconds were spent on a total of 13 queries. Zlib compression enabled.

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