Search found 4 matches

by haishi
04 Jun 2018 09:02
Forum: DOS Batch Forum
Topic: Adding a column to a csv file and populating it
Replies: 21
Views: 15533

Re: Adding a column to a csv file and populating it

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...
by haishi
25 May 2018 01:14
Forum: DOS Batch Forum
Topic: Adding Wildcards to variables
Replies: 5
Views: 967

Re: Adding Wildcards to variables

WOW Squashman, that does exactly what I need! Thank you very very much!!! :D
by haishi
24 May 2018 00:25
Forum: DOS Batch Forum
Topic: Adding Wildcards to variables
Replies: 5
Views: 967

Re: Adding Wildcards to variables

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%.
by haishi
23 May 2018 13:17
Forum: DOS Batch Forum
Topic: Adding Wildcards to variables
Replies: 5
Views: 967

Adding Wildcards to variables

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",...