Hi,

I need write a batch script to access the Windows Startup folder that is inside the Documents And Settings\All Users.

As far as I know there is an environment variable that indicates where this folder is located, however I haven't been able to find out which one is it.

Thanks,
Komyg

%allusersprofile%

Hi, thanks for your answer.

This variable %allusersprofile% did point me in the right direction, hoewever I have another doubt. Usually when Windows is localized the Start Menu folder gets another name (in portuguese for example it becomes Menu Iniciar) and so does the Programs and Startup folders.

Is there a way to access the Startup folder directly via an environment variable? Because if I use the actual name of the folders, then my script will only work for a localized version of windows.

Thanks,
Komyg

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.