Fix/Quicklaunch For Grognak's Mod Manager

Distribute and discuss mods that are functional. Moderator - Grognak
Posts: 1
Joined: Sun Jul 28, 2013 11:20 pm

Fix/Quicklaunch For Grognak's Mod Manager

Postby Goldentank » Sun Jul 28, 2013 11:43 pm

I got bored of having to launch '' Through the admin cmd prompt.
So with a little help from google I compiled a .bat that does the job for you.
Not uploading the .bat because everybody knows not to run .bat you're unsure of.
Make what you will of this, Don't use it if you don't trust it.
I just thought I'd share this as I find it useful myself.
What is this?
The initial part of the code allows the script to be run as admin (Still requires you to allow it to be run as admin)
It saves you time by not forcing you to open command prompt every time you want to add or change a mod.

Code: Select all

@echo off

:: BatchGotAdmin
REM  --> Check for permissions
>nul 2>&1 "%SYSTEMROOT%\system32\cacls.exe" "%SYSTEMROOT%\system32\config\system"

REM --> If error flag set, we do not have admin.
if '%errorlevel%' NEQ '0' (
    echo Requesting administrative privileges...
    goto UACPrompt
) else ( goto gotAdmin )

    echo Set UAC = CreateObject^("Shell.Application"^) > "%temp%\getadmin.vbs"
    set params = %*:"=""
    echo UAC.ShellExecute "%~s0", "%params%", "", "runas", 1 >> "%temp%\getadmin.vbs"

    exit /B

    if exist "%temp%\getadmin.vbs" ( del "%temp%\getadmin.vbs" )
    pushd "%CD%"
    CD /D "%~dp0"
 cd "Location\Of\Folder\Containing\ModManager"

  • Open Notepad.
  • Paste the code above inside.
  • Replace "Location\Of\Folder\Containing\ModManager" with the location of your mod manager files (Keep ")
  • Go to save as and save the file as 'Loader.bat' and where you see 'Text Documents(*txt)' change to all files.
  • Hit save.
  • Launch!
Posts: 792
Joined: Thu Oct 25, 2012 12:01 pm

Re: Fix/Quicklaunch For Grognak's Mod Manager

Postby Vhati » Mon Jul 29, 2013 12:12 am

A working replacement modman.exe is available here. 8-)
Posts: 829
Joined: Mon Sep 17, 2012 11:42 pm
Location: Nantes, France

Re: Fix/Quicklaunch For Grognak's Mod Manager

Postby boa13 » Mon Aug 05, 2013 7:34 pm

Yep, there's a replacement modman.exe (I don't know if many users have seen it). Thanks Goldentank for sharing your own solution to the issue!
Forum janitor — If you spot spam, PM me the URL and/or the username of the spammer.
I have powers, moderator powers. I am not keen on using them, but will do so if needed.

Who is online

Users browsing this forum: No registered users and 32 guests