Removing Domino iSeries folders

This is a quick and easy way to remove a folder or server instance on an iSeries using QSH (Qshell) in a single command.

This is a quick and easy way to remove a folder or server instance on an iSeries using QSH (Qshell) in a single command.

  1. Start Qshell using STRQSH.

  2. Issue this command to remove the folder you want to remove:
    rm -R -f /folder name 

    Note: This starts at the root folders -- you can start at any point you want.

  3. After you are done, press F3 to exit Qshell.

That's it! You've removed the folder and all its contents in one hit! Nice trick, since the iSeries won't let you do this from the native command line.


This tip is not entirely true. You can do a recursive delete of a folder and all of its contents on the iSeries.

EDTF /notes/data/dominoservername

This puts the entire data directory into edit mode where you can do an Option 9 on a directory to remove it and all of its contents.

—Mike G.


If your intention is to just remove the Domino iSeries IFS directories but leave Domino screwed up, then the two tips are correct -- of course the second one is the better and faster one.

After trying one or the other you still will have to remove the objects specific to that Domino server from the QUSRNOTES library and from the /QIBM/ProdData/Lotus directory -- in case you know the entire details of the server.

If you don't know what I'm talking about then your best bet is to use this fast and secure approach:


It will do the entire job for you.

—Cesar M.


The intent of the command was not to delete an entire server -- mainly just full text indexes and folder sub trees under the data directory of the Domino server.

—Mike G.


I see that there's a bit of controversy about my tip! It will remove the folders that are left over from a Domino server instance after you have deleted it the proper way, or if you are trying to remove treed folder structures.

One thing I will point out is that this tip is version independent -- as long as you have QSH (QShell) on your iSeries or AS400 it will work. Yes, they've added the ability to do recursive deletes into the WRKLNK function of the IFS, but not at earlier releases of OS400. So this tip will work with pretty much any version of OS400 that supports QSH.

—David Scott, tip author

Do you have comments on this tip? Let us know.

This tip was submitted to the tip exchange by member David Scott. Please let others know how useful it is via the rating scale below. Do you have a useful Notes/Domino tip or code to share? Submit it to our monthly tip contest and you could win a prize and a spot in our Hall of Fame.

Dig Deeper on Lotus Notes Domino Interoperability

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.




  • iSeries tutorials's tutorials provide in-depth information on the iSeries. Our iSeries tutorials address areas you need to know about...

  • V6R1 upgrade planning checklist

    When upgrading to V6R1, make sure your software will be supported, your programs will function and the correct PTFs have been ...

  • Connecting multiple iSeries systems through DDM

    Working with databases over multiple iSeries systems can be simple when remotely connecting logical partitions with distributed ...