in reply to mkdir on Windows 98

If you're trying to create C:\Windows\Temp\myfolder, does C:\Windows\Temp exist? It must, unless you're using File::Path's mkpath or similar.