I had alot of struggle as a beginner coding and it sucks that windows doesn't have simple built in tools like cut so I thought I'd post this incase anyone has the same problem.
This is tutorial on how to convert txt to bed files on the windows command prompt for bioinformatic novices.
Download GnuWin32 http://gnuwin32.sourceforge.net/downlinks/coreutils.php Make sure msvcrt.dll is in your system folder (Windows\System) If its not you can download it from https://www.dll-files.com/msvcrt.dll.html
Move GnuWin32 to C: drive
Add GnuWin32 to PATH Control Panel>System>Advanced System settings> Environment variables>system variables
Find Path, edit one that looks like: “%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\” and add “;c:\GnuWin32”
Run cmd under administrator
C:\GnuWin32\bin>cut -f 2,3,4,5 XXX.txt >XXX.bed
Numbers indicate columns with relevant bed file data ie. chr, start and end site, sense, id
Make sure txt file is in location cmd can find (I put in C:\GnuWin32\bin)