This post might end up becoming a wee bit long, but I'll try to keep it short:
Here at work (a Ford\Nissan Dealership\workshop in Norway, for those whos intrested), we have severel programs for managing all the parts for Nissan and Ford. Ford's program are easy to handle, but the updating-part of the Nissan Program is a little bit tricky. It's not hard, but time-consuming because of the fact that 1) I have to do it by hand, and 2) I'm the only one here who can do it (all the others have computer-insight like ball-pens).
The Nissan-program works like this:
The program itself are kept in a folder stored locally on the computer. However, the files which is containing all the files, are kept on a diffrent computer, which all our computers in the part-shop are connected to. However, due to performance-issues, I had to store all the parts-files locally on each computer. This solves some problems, but open up for others.
So here is the ten dollar question; is it hard to create a little script, or progam, or whatever, that simply copies the files in the main directory, and replaces the old ones with the new ones in the locally stored folder?
Yes, I know it's not hard, and Yes, I know I sound a bit lazy, but it does require some time to do, and there is'nt always a 24-hour day offers enough time do do it.
If I explained this in a hard way, I'l try to write it here:
A:\xxx\NISSAN PARTS\ <- Contains files, which becomes old.
B:\ <- Contains files, which becomes updated.
Program replaces files in folder on drive A with copied files from driv B.
But, and this is perhaps the biggest problem of them all, I think, I never coded anything! Sure, I did som easyer-than-basic HTML'ing back in the days, but I never actually make something that is worth praise...
So, is this so hard to do that I have to offer my soul to the Devil himself to make, or can I actually have a chance? :)
EDIT:
Perhaps something like this? :)
v1.0
START
- on program execute:
- open root [ R:\ ]
- copy all files, folders, sub-folders and sub-files
- close root [ R:\]
- open root [ C:\NISSAN\DELEFILM EURO\ ]
- Paste all files
- Overwrite on all files accepted
- Overpaste finished
- Close Program
/END
v2.0
START
- on program execute
- Enable custom root adress for sender
- copy all files, folders, sub-folders and sub-files from custom root adress
- Enable custom root adress for reciever
- Paste all files, and enable overwrite, on reciver custom root adress
- On begun copy, open %tab
- On ended copy, close %tab
- On ended copy, show message "complete"
- On closed message, end program
/END
Edited by oege, 16 July 2009 - 03:19 AM.


Sign In
Create Account

Back to top









