Home | Gallery | Forum | Services | Webmail | Archive | Links | Contact Us | About Us
OS2 World.Com Forum
OS2 World.Com Online Discussion Forum.
Index / OS/2 - General / Setup & Installation
author message
How to remove empty directory in Warp 4 server
Post a new topic Reply to this Topic Printable Version of this Topic Forward this Topic to your Friend Topic Commands (for administrator or moderators only)
Sam
Premium member
in user

View this member's profileSearch all posts from this memberSend an email to this member
posts: 70
since: 05 Feb, 2004
1. How to remove empty directory in Warp 4 server
Reply to this topic with quote Modify your message
Questions looks silly. But that is the problem which stretch my head.

I have a directory in Warp 4 server. Let say c:\xx.

It should empty file list with dir command. It also display no files with attrib *.* which run under c:\xx.

However, it complain cannot remove directory when rd c:\xx is issued. When I tried to issue a command
md yy within directory xx, it complain it already exist.

Can anyone please advice what is the cause ?

Date: 26 Apr, 2005 on 15:43
warpcafe
Premium member
in user

View this member's profileSearch all posts from this memberSend an email to this member
posts: 350
since: 26 Nov, 2002
2. Re:How to remove empty directory in Warp 4 server
Reply to this topic with quote Modify your message
Hi Sam,

...my first suggestion:
Could it be a restriction by local security with HPFS386?
=> Are you logged on the server as admin?

Next, two other possible pitfalls. Questions:
- Does this happen only when booted to os/2 command via Alt-F1 or "always" ?
- Was there a previous installation on the hard disk?

Greetings
Thomas

Date: 26 Apr, 2005 on 16:45
Sam
Premium member
in user

View this member's profileSearch all posts from this memberSend an email to this member
posts: 70
since: 05 Feb, 2004
3. Re:How to remove empty directory in Warp 4 server
Reply to this topic with quote Modify your message
Thomas,


Thanks first for the info.

1. Are you logged on the server as admin?
Yes

2.Does this happen only when booted to os/2 command via
Alt-F1 or "always" ?
No to both.
I perform this under OS/2 command prompt of launch pad &
GUI "File manager". It complain some programs are using it.
I did not try Alt-F1 option. Will do so when I have chance.

3. Was there a previous installation on the hard disk?
No. This directory exist in the past. I just delete it and
recreate c:\xx. Then create subdirectory yy under c:\xx
It doesn't allow the subdirectory creation & c:\xx removal

Addition information : though I can't remove this directory, I can rename it. ie move c:\xx c:\zz can be executed.

Any addtional suggestion / comment ?

Suspected another way to solve the problem is to find out what process/program is using that directory, but how ?

Any help from you or anyone is much appreciated.

Date: 26 Apr, 2005 on 18:29
tex
Normal member
in user

View this member's profileSearch all posts from this memberSend an email to this member
posts: 77
since: 25 Jul, 2003
4. Re:How to remove empty directory in Warp 4 server
Reply to this topic with quote Modify your message

Sam (26 Apr, 2005 15:43):
Questions looks silly. But that is the problem which stretch my head.

I have a directory in Warp 4 server. Let say c:\xx.

It should empty file list with dir command. It also display no files with attrib *.* which run under c:\xx.

However, it complain cannot remove directory when rd c:\xx is issued. When I tried to issue a command
md yy within directory xx, it complain it already exist.

Can anyone please advice what is the cause ?


Check to make sure the directory attribute is not marked 'Read only". If so, change it.

Date: 26 Apr, 2005 on 20:38
warpcafe
Premium member
in user

View this member's profileSearch all posts from this memberSend an email to this member
posts: 350
since: 26 Nov, 2002
5. Re:How to remove empty directory in Warp 4 server
Reply to this topic with quote Modify your message
Sam,

I don't knwo what program should be using a directory called \xx that you created on your own. Firthermore I can't figure out why you can't delete it but rename ist!
So the message "is in use" can be considered as bullshit because if it is in use, you won't be able to rename it because the program that uses it won't find its files anymore.

To get rid of the directory, use Alt-F1, boot to a command prompt and either launch a vio file manager (F, FC/2, etc.) or manually remove it (rd).

There also might be corrupt INI information for the folder. But I still imagine some kind of problem with shares: Have you set up the hard disk C: o be shared? If so, it might be a lock by the system process that handles shares... ehh... kind of maybe...

Greetings
[keeping-fingers-crossed]
Thomas

Date: 28 Apr, 2005 on 14:14
Radek
Premium member
in user

View this member's profileSearch all posts from this memberSend an email to this member
posts: 121
since: 17 Jul, 2003
6. Re:How to remove empty directory in Warp 4 server
Reply to this topic with quote Modify your message
Can you "move" that damned folder? If you can then you can use the following ceremony:

1. Move the folder on a diskette
2. Format the diskette (with satisfaction)

This worked on W3 and W4 against seemingly undeletable objects.
I can imagine only one reason for your problems. Something in your server is sharing the folder. The folder is "open" so that it cannot be deleted. Because links in OS/2 are dynamic, it is allowed to rename the folder somehow.

Disconnect yourself from the web, restart, and check everything which concerns the web. Among other checks, create a temporary folder and move there everything from the startup folder, except programs that MUST run. You can restore the startup folder later by moving the links back.

Date: 28 Apr, 2005 on 14:37
How to remove empty directory in Warp 4 server
Post a new topic Reply to this Topic Printable Version of this Topic Forward this Topic to your Friend Topic Commands (for administrator or moderators only)
All times are CET+1. < Prev. | P. 1 | Next >
Go to:
 

Powered by UltraBoard 2000 Standard Edition,
Copyright © UltraScripts.com, Inc. 1999-2000.
Home | Gallery | Forums | Services | Webmail | Archive | Links | Contact Us | About Us
OS2 World.Com 2000-2004