Unable to edit/run a .bat file win7 sp1

toby45

New member
Local time
2:46 AM
Messages
17
Hi, this my first thread here, i have read some of the other threads regarding .Bat files and running them ,but none of the suggestions have so far worked for me,

Here is the situation, i installed an old game R6Vegas2 to c:/games instead of the protected programe files(default install location) the game it's self works fine, but it's a mod for this game that uses bat files, teknor6vegas2.exe wich then injects it's code into the games .exe so i need to be able to edit the bat file and run it,

so far all that happens is the dos cmd window opens and closes within2 seconds nothing else
things that i have tried,disabled uac, taken ownership /full control
copied a sortcut to the desktop (.bat file) and changed to run as admin all made no difference at all,
in win xp it works without all this faffing around
 

My Computer My Computer

At a glance

Win 7 premium SP1 x86
OS
Win 7 premium SP1 x86
Hi,

teknor6vegas2.exe isn't a .BAT file. The way you wrote your post implies that this is a batch file, but its an executable file so you won't be able to edit it (not as a typically batch file anyway). Can you check your original post to see if you got the bat file name correctly?

Regards,
Golden
 

My Computer My Computer

At a glance

Windows 10 Pro x64 ; Xubuntu x64Intel i7 860 @ 2.80 GHz O/C'ed to 4.0GHz16GB Corsair Vengance DDR3 @ 661 MHz Dual Cha...EVGA NVidia GTX 560 1024MB
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Golden Mk. I.4
OS
Windows 10 Pro x64 ; Xubuntu x64
CPU
Intel i7 860 @ 2.80 GHz O/C'ed to 4.0GHz
Motherboard
Gigabyte P55A-UD3R Rev.1. Award BIOS F13
Memory
16GB Corsair Vengance DDR3 @ 661 MHz Dual Channel (9-9-9-24)
Graphics Card(s)
EVGA NVidia GTX 560 1024MB
Sound Card
Realtek Integrated
Monitor(s) Displays
Dual Samsung SyncMaster 2494HS
Screen Resolution
1920*1080 and 1920*1080
Hard Drives
1*Samsung 840 EVO 120GB SSD;
1*OCZ Vertex 2 60GB SSD;
2*Samsung F3 SpinPoint 1TB in RAID0;
1*Samsung F1 SpinPoint 1TB;
2*Western Digital 1TB External USB 3.0
1*Western Digital 500GB External USB 3.0
1*Seagate 500GB External USB 2.0
PSU
Thermaltake ToughPower QFan 750W
Case
Thermaltake Element S VK60001W2Z
Cooling
Corsair H60 Water Cooling, 2*230mm and 2*80mm case fans
Keyboard
Logitech G110
Mouse
Logitech MX518
Sorry for the mis understanding but to hopefully clear it up, the Teknor6vegas 2.30 mod, consists of 1 exe(teknor6vegas2) and 3 .bat files, inside them there are 3 fields that relate to the terrorist cap player cap and eyefinity so i can enable/disable eyefintiy option allow more than the standard 4players online to the max 16players and finally increase the number of AI upto 99,
1,NoPlayerCap_99Terrorist_Eyefinity.bat
2 PlayerCap_99Terrorist_NoEyefinity.bat
3 NoPlayerCap_NormalTerrorists_Eyefinity.bat
1. Copy to your <Rainbow Six Vegas 2 game folder>\Binaries
2. Run from Console or use included BAT files.
3. Have fun!!!
are the instructions, I haven't tried running from console,as i'm not familiar with the parameters needed
Using win xp the bat files can be edited in notepad,, via right clicking & selecting edit option (not present on win7) then by selecting open/run the bat file runs/starts the teknor6vegas2 exe with the chosen parameters which then presumably modifies the r6vegas2.exe ( reloaded no cd exe) that ubisoft in their day tried to claim as their own work, until reloaded went public,lol, more details on it here:http://news.softpedia.com/news/Ubisoft-Cracks-Own-Game-with-Reloaded-Fix-90318.shtml
 

My Computer My Computer

At a glance

Win 7 premium SP1 x86
OS
Win 7 premium SP1 x86
Windows 7 should let you rightclick each .bat file and select Edit to open it in Notepad. I'm guessing that the .bat files assume the default location for your installed game and you need to change that path.
 

My Computer My Computer

At a glance

Windows 7 Professional SP1 32-bitIntel Core 2 Duo E6600 2.4GHz4GB DDR2-667 (4x1GB in dual-channel config)nVidia GeForce 9800 GT
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Custom-built
OS
Windows 7 Professional SP1 32-bit
CPU
Intel Core 2 Duo E6600 2.4GHz
Motherboard
Asus PL5D2
Memory
4GB DDR2-667 (4x1GB in dual-channel config)
Graphics Card(s)
nVidia GeForce 9800 GT
Sound Card
Creative X-Fi XtremeMusic
Monitor(s) Displays
Acer P236H
Screen Resolution
1920x1200 (DVI)
Hard Drives
OCZ SSD Vertex Plus 60GB SATA (Firmware 3.55), 64MB cache
Hitachi HD321KJ SATA, 320GB, 7200rpm, 16MB cache
PSU
Antec TruePower 2.0
Case
Cooler Master Centurion
Cooling
Too many fans
Keyboard
Standard
Mouse
Microsoft wireless optical mouse
Internet Speed
AT&T U-verse (18mbit/sec)
Antivirus
Microsoft Security Essentials
Browser
Firefox
Other Info
Other devices:
Compaq CQ-60 laptop
Google Nexus 7 (2012) tablet
Nvidia SHIELD tablet (US/LTE)
Hardkernel ODROID-XU single-board computer (Samsung Exynos 5420)
Windows 7 should let you rightclick each .bat file and select Edit to open it in Notepad. I'm guessing that the .bat files assume the default location for your installed game and you need to change that path.
That's what i can't understand but there is no edit option available & the open= run, dos window flickers on/off that's all it does, as for the game not being in programe files, it has made no difference ,it's because it failed there re installed it to a different location, what is a bat file supposed to open with in file associations, any one know?
 

My Computer My Computer

At a glance

Win 7 premium SP1 x86
OS
Win 7 premium SP1 x86
Just open Notepad and navigate to the BAT file and select it, and open it that way.
 

My Computer My Computer

At a glance

Windows 7 Pro x64 (1), Win7 Pro X64 (2)i5-3350p 3.1Ghz/6MB-cache (1); E8400 3.0Ghz/6...8GB PC3-12800 DDR3 (1); 4GB PC3-10600 DDR3 (2)ATI HD7750 (1), (see TV cards); ATI R7 250 (2)
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Home-built, two systems (1) and (2)
OS
Windows 7 Pro x64 (1), Win7 Pro X64 (2)
CPU
i5-3350p 3.1Ghz/6MB-cache (1); E8400 3.0Ghz/6MB-cache (2)
Motherboard
ASUS P8Z77-V Pro (1); ASUS P5Q3 (2)
Memory
8GB PC3-12800 DDR3 (1); 4GB PC3-10600 DDR3 (2)
Graphics Card(s)
ATI HD7750 (1), (see TV cards); ATI R7 250 (2)
Sound Card
Realtek ALC892 HD Audio (1); Realtek ALC1200 HD Audio (2)
Monitor(s) Displays
Eizo HD2441W LCD, Eizo S2433W (1); Eizo 24" S2433W (2)
Screen Resolution
1920x1200, 1920x1200 (1); 1920x1200 (2)
Hard Drives
(1) 1TB SATA-II (7200RPM), 2x2TB SATA-III (7200RPM), 250GB SATA-III (10000RPM) for OS; 2x2TB external USB 3.0

(2) 320GB SATA-II (7200RPM), 750GB SATA-II (7200RPM), 150GB SATA-II (10000RPM) for OS; 2TB external USB 3.0
PSU
Nesteq ECS-6001 600W (1); Nesteq ECS-5001 500W (2)
Case
Acousti-Case 360 (1) and (2)
Cooling
Noctua NH-U12P SE2 for CPU, 2x120mm case fans (1) and (2)
Keyboard
IBM PS/2 (1) and (2)
Mouse
Logitech MX Revolution wireless (1); Microsoft wired (2)
Internet Speed
100mbps down / 10mbps up
Antivirus
Microsoft Security Essentials; Malwarebyte Anti-Malware Pro
Browser
Firefox
Other Info
Ceton InfiniTV 4-tuner cablecard-enabled TV card as well as Hauppauge HVR-2250 OTA/ATSC 2-tuner TV card in (1), running under Win7 WMC
Hello Toby, and welcome to Seven Forums.

Are these files in a ZIP folder by chance?

If so, you would need to extract (drag and drop) the files to say your desktop first before you will have the "Edit" option when you right click on the BAT file.

If you did, then you might see if downloading and merging the BAT option in the tutorial below may be able to help by restoring all default associations for BAT files.
Hope this helps,
Shawn
 

My Computer My Computer

At a glance

64-bit Windows 11 Pro for WorkstationsIntel i7-8700K OC'd to 5 GHz64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600...ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Self built custom
OS
64-bit Windows 11 Pro for Workstations
CPU
Intel i7-8700K OC'd to 5 GHz
Motherboard
ASUS ROG Maximus XI Formula Z390
Memory
64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz
Graphics Card(s)
ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
Sound Card
Integrated
Monitor(s) Displays
2 x Samsung Odyssey G7 27"
Screen Resolution
2560x1440
Hard Drives
1TB Samsung 990 PRO M.2,
4TB Samsung 990 PRO PRO M.2,
TerraMaster F8 SSD Plus NAS
PSU
Seasonic Prime Titanium 850W
Case
Thermaltake Core P3
Cooling
Corsair Hydro H115i
Keyboard
Logitech wireless K800
Mouse
Logitech MX Master 4
Internet Speed
2 Gb/s Download and 100 Mb/s Upload
Antivirus
Malwarebyte Anti-Malware Premium
Browser
Google Chrome
Other Info
Logitech Z625 speaker system,
Logitech BRIO 4K Pro webcam,
HP Color LaserJet Pro MFP M477fdn,
APC SMART-UPS RT 1000 XL - SURT1000XLI,
Galaxy S23 Plus phone
Thank's for that i did have to associate the reg file previously as win7 didn't have a clue , i shall give the .bat default assoications a go, after trying different things the .bat files will for some reason run the exe file if they are on a different partition ,my system is dual boot, xp on other partitition, with same game and mod files weird, thing is i should be able to run it from the win7 partition, if win7 is going to be so restrictive maybe it's a bad choice of os ?

Merged the reg eteries default .bat still no change, run as admin nothing, the short cut is pointing to the correct path so im at a loss

Idon't know if it will help at all but here is a screen shot of it when run succesfully on other partition (using that the files from that partition not win7 partition)

71rdco.jpg


Ithink that when i try and run this bat file pointing to the game installed on the same partition as win7 it opens the normal cmd prompt, which opens & closes within 1 second, where as if do the same but pointing to a different installation of the game on a different partition it opens the elevated cmd prompt so works as intended, why do microsoft think that 2 cmd prompts are needed?
 
Last edited by a moderator:

My Computer My Computer

At a glance

Win 7 premium SP1 x86
OS
Win 7 premium SP1 x86
Back
Top