Search found 4 matches
Search found 4 matches • Page 1 of 1
- 04 Jun 2018 09:02
- Forum: DOS Batch Forum
- Topic: Adding a column to a csv file and populating it
- Replies: 21
- Views: 15533
Though this is an old thread, I would like to know how the first code ... @echo off :: %1 is the input filename :: %2 is the new column header :: %3 is the dummy number to fill every cell in the new column setlocal set "file=%~1" set "fileout=newfile.csv" set /p "var="<"%file%" >nul >"%fileout%" ech...
The outcome is the same if I use "if exist", i tried that previously. Problem is, that after the variable %number% I am unable to use a wildcard to have the rest of the foldername ignored and open every folder that stards with a value that is equal to the entered %number%.
Hello there! This is my first post here, so please apologize if I do not act strictly on forum rules. I hope you can help! What I'm trying to achieve: I am creating a script that allows users tu enter three different variables (number="job number"; customer="Customer Name" and job="job description",...