Server IP : 180.180.241.3 / Your IP : 216.73.216.127 Web Server : Microsoft-IIS/7.5 System : Windows NT NETWORK-NHRC 6.1 build 7601 (Windows Server 2008 R2 Standard Edition Service Pack 1) i586 User : IUSR ( 0) PHP Version : 5.3.28 Disable Function : NONE MySQL : ON | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/Program Files (x86)/Git/ |
Upload File : |
Set fso = CreateObject("Scripting.FileSystemObject") Set shell = CreateObject("WScript.Shell") Const TemporaryFolder = 2 linkfile = fso.BuildPath(fso.GetSpecialFolder(TemporaryFolder), "Git Bash.lnk") gitdir = fso.GetParentFolderName(WScript.ScriptFullName) ' Dynamically create a shortcut with the current directory as the working directory. Set link = shell.CreateShortcut(linkfile) link.TargetPath = fso.BuildPath(gitdir, "bin\sh.exe") link.Arguments = "--login -i" link.IconLocation = fso.BuildPath(gitdir, "etc\git.ico") If WScript.Arguments.Length > 0 Then link.WorkingDirectory = WScript.Arguments(0) link.Save Set app = CreateObject("Shell.Application") app.ShellExecute linkfile