Windows Operating System

  • Thread starter Thread starter Carl Sprake, Oxford, UK
  • Start date Start date
C

Carl Sprake, Oxford, UK

I hope that someone here can help me with this.

Is there a way of identifying which operating system is being used, or where
the Desktop folder is?

The requirement is to save a file to the desktop without worrying about the
username. However, there are users on Windows Server 2003, Windows Server
2008, Windows Vista and Windows XP.

thanks in advance

Carl
 
And for the desktop

MyPath = CreateObject("WScript.Shell").Specialfolders("DeskTop")
msgbox MyPath

Mike
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top