The Elder Scrolls V: Skyrim Special Edition

The Elder Scrolls V: Skyrim Special Edition

View Stats:
Kevonski Dec 8, 2016 @ 3:28pm
Bat files not working in SKYRIM SE
Used bat command a lot in regular skyrim. Playing on Windows 10 with SE edition I cannot run them. I can do any other command though in console.

I have the same file but copied and renamed in the following way:
addall
addalla.txt
addallb.bat

In these directories:

C:\Program Files (x86)\Steam\steamapps\common\SkyrimSE
C:\Program Files (x86)\Steam\steamapps\common\SkyrimSE\Data
C:\Program Files (x86)\Steam\steamapps\common\Skyrim
C:\Program Files (x86)\Steam\steamapps\common\Skyrim\Data

I tried all 3 versions and every time I get a message that says:

Batch file could not be found/opened

Works in Fallout 4 just fine.

Anyone on windows 10 has had this issue? Anything I should try?
< >
Showing 1-15 of 16 comments
Gamer Lady Jules Dec 8, 2016 @ 3:48pm 
They should just need to sit in your ...\SteamLibrary\steamapps\common\Skyrim Special Edition folder as a txt file.

When in the command window are you sure you have typed bat (filename) without the file extension on the end?

Example - bat addall

Last edited by Gamer Lady Jules; Dec 8, 2016 @ 5:50pm
works fine, make sure the bat files are in the data folder
Chef Dec 8, 2016 @ 5:24pm 
C:\Program Files (x86)\Steam\steamapps\common\Skyrim Special Edition

Thats the path to the directory my bat files are in, and they work as intended with Win10.
Last edited by Chef; Dec 8, 2016 @ 5:24pm
Kevonski Dec 12, 2016 @ 1:51pm 
It is just me then. Never had any trouble with old skyrim, or FO4, and have yet to find anyone with this issue. But if you look above I have 3 versions with extensions, without, and when typing I always just try "bat filename" with no extension typed. Oh well. Thanks anyway.
Xx_ChefSabata_xX May 23, 2017 @ 7:50pm 
Kevonski, I found this thread because I was having the same trouble, I found what I was doing wrong though. Add the file in the \common\Skyrim Special Edition folder, but they must be .TXT files, not .bat... I find it very silly. Take your .bat files and edit and change them to .txt files and it should be fine.
Kevonski May 29, 2017 @ 6:42pm 
It has been a while, but thank you to CHEFSABATA. I will try it. I have honestly given up on trying to play skyrim again because no one had an answer. I will try your suggestion, thanks!
oldtrk Jun 8, 2017 @ 8:24am 
Same problem. Files have always been .txt files.
and in correct folder.
Kevonski Jun 26, 2017 @ 6:42pm 
OLDTRK, thanks for letting me know I am not CRAZY. I literally have stalked different communities., message boards, etc and everywhere people act like it is just me. I THOUGHT I did a pretty good clean uninstall, wiped steam, looked through hidden folders and regedit to scour my system. Fresh install, problem persisted. On an HP with P7, off the floor model and new graphics card. No reason it should work differently....
I'm new to modding so this may be a basic mistake but I couldn't figure out how to make it work either and I realized you cant just use notepad it has to be notepad++ works like a charm now
Flanisco Apr 27, 2020 @ 6:27pm 
ok guys got a fix that might work for some write it like this:
bat "fileneme.txt"
that is how i fixed my problem
G'raff Nov 24, 2020 @ 2:50pm 
Originally posted by battle.star.alex:
I'm new to modding so this may be a basic mistake but I couldn't figure out how to make it work either and I realized you cant just use notepad it has to be notepad++ works like a charm now
Господи, я полночи ебался с этими сраными bat files и только твой коммент помог решить проблему. Спасибо огромное! Пусть у тебя будет крепкое здоровье и много денег!
Ihateeverybody Nov 24, 2020 @ 3:02pm 
Mine are in Data and simple txt files also. Never tried them one level up. I do have file extensions enabled (shows what type of file a file is), so not sure why that would effect anything.

So glad I don't work tech support anymore. Sometimes I just felt like someone was #($*ing with me!
devilishdemon13 Dec 6, 2023 @ 3:48pm 
Not sure if anyone needs the answer anymore but I got it to work with a few extra steps.
1. Remove the .txt extension
2. Place in the DATA folder
3. Place "" around the file name in the command window EX. bat "filenamehere"
Originally posted by Kevonski:
Used bat command a lot in regular skyrim. Playing on Windows 10 with SE edition I cannot run them. I can do any other command though in console.

I have the same file but copied and renamed in the following way:
addall
addalla.txt
addallb.bat

In these directories:

C:\Program Files (x86)\Steam\steamapps\common\SkyrimSE
C:\Program Files (x86)\Steam\steamapps\common\SkyrimSE\Data
C:\Program Files (x86)\Steam\steamapps\common\Skyrim
C:\Program Files (x86)\Steam\steamapps\common\Skyrim\Data

I tried all 3 versions and every time I get a message that says:

Batch file could not be found/opened

Works in Fallout 4 just fine.

Anyone on windows 10 has had this issue? Anything I should try?




I found an old post about loading bat files in Skyrim SE, while using a Mod Loader.
https://www.reddit.com/r/skyrimmods/comments/26ka66/using_batch_files_along_side_mod_organizer/

I had to package my bat files into a ".rar" file and load it into the Modloader as a mod, then right-clicked, and selected "ignore missing game files." Worked like a charm after that.

Although, when I first used Skyrim years ago, it was always bat files had no extension and it'd work fine. I dunno what's up, but I hope this helps.
HellFire Feb 4, 2024 @ 1:14pm 
Hello, yeah so I had the same problem as some of guys and I've fixed it, really its so stupid... lol

As an example this is how I had the command lines in my batch file:

"Player.Additem 5AD93 1000 Corundum Ingot"

Couldn't figure it for at least 30 mins until I realised "Corundum Ingot" was causing the game to not recognise it as a command.

You want all the commands in your batch file to look like this:
"Player.Additem 5AD93 1000" without the name of item you want to spawn in.

Its working now.
< >
Showing 1-15 of 16 comments
Per page: 1530 50

Date Posted: Dec 8, 2016 @ 3:28pm
Posts: 16