Ready, steady… save!
You don’t need a chart to join in. Here are 2 ways to record your savings:
1. Cross it off
Pop a chart into your first post. Saved an amount? Cross it out! Read more »
£0.01 £0.02 £0.03
2. Write it down
Skip the chart and add updates to your first post. Read more »
“Another +£3 saved today. Go me!”
Use +£ before each new saving so it counts towards your total.
We’d like to remind Forumites to please avoid political debate on the Forum.
This is to keep it a safe and useful space for MoneySaving discussions. Threads that are – or become – political in nature may be removed in line with the Forum’s rules. Thank you for your understanding.
Programming help - multiple file paths
L400ras
Posts: 153 Forumite
in Techie Stuff
Got a program at work which looks in a specified folder for zip files, i would like to modify this line to "look" into two seperate folders,
is there any syntax i can put between the two paths to read from both off the same line etc,
ie c:\first folder && c:\second folder
# i do not know what language the main program is written in, but i suspect a dos based C or C++ etc
is there any syntax i can put between the two paths to read from both off the same line etc,
ie c:\first folder && c:\second folder
# i do not know what language the main program is written in, but i suspect a dos based C or C++ etc
This is not an automated signature. I write this at the bottom of every message
0
Comments
-
Try ; as the separator, for example the dir command:
dir c:\windows ; "c:\documents and settings"
works in DOS (the quotes are required for the 2nd folder because it contains spaces), however it depends how the program interprets the line.
What does the line look like exactly? Is it a line in a .bat or other script, or the nth line in a data file? Maybe the program can read an environment variable which specifies the folders.0 -
thanks, nearly works. it is the nth line in a data fileThis is not an automated signature. I write this at the bottom of every message0
This discussion has been closed.
Categories
- All Categories
- 356K Banking & Borrowing
- 255K Reduce Debt & Boost Income
- 456.3K Spending & Discounts
- 248.5K Work, Benefits & Business
- 606.3K Mortgages, Homes & Bills
- 179.1K Life & Family
- 264.1K Travel & Transport
- 1.6M Hobbies & Leisure
- 16.2K Discuss & Feedback
- 37.7K Read-Only Boards