Search found 12 matches

by accesshawaii
07 Nov 2012 09:17
Forum: DOS Batch Forum
Topic: Very Odd - Copied File Shows Immediately, Windows Stays Open
Replies: 9
Views: 8254

Re: Very Odd - Copied File Shows Immediately, Windows Stays

Yet, another question . I'm almost done though. I'm just trying copy an entire folder and its contents, for example if I have the folder R:\MyFolder, I just want to copy that to C:\Local\MyFolder. Something that I thought would be eash but have not been able to figure it out. Below is the syntax tha...
by accesshawaii
07 Nov 2012 08:12
Forum: DOS Batch Forum
Topic: Very Odd - Copied File Shows Immediately, Windows Stays Open
Replies: 9
Views: 8254

Re: Very Odd - Copied File Shows Immediately, Windows Stays

Got it worked out. Thanks. Another question, if you don't mind. I have done this before but cannot remember how exactly I did it. What I'm trying to do is check if a folder exists on a machine and if it doesen't then create a folder as well as sub-folders. The pseudo code would be something like the...
by accesshawaii
06 Nov 2012 12:28
Forum: DOS Batch Forum
Topic: Very Odd - Copied File Shows Immediately, Windows Stays Open
Replies: 9
Views: 8254

Very Odd - Copied File Shows Immediately, Windows Stays Open

I have a real basic copy command, which is below copy "N:\Network Folder\Some Data\TheDatabase.accdb" "C:\Development\BackEnd" When I run this, what happens is the file shows up immediately in the "BackEnd" folder with the full file size. If I try to open it, I get a &q...
by accesshawaii
06 Nov 2012 12:18
Forum: DOS Batch Forum
Topic: Batch File to Compress File Using Windows
Replies: 19
Views: 21162

Re: Batch File to Compress File Using Windows

I understand that compression programs like 7-Zip, WinZip, etc. compress files much better than the built in windows compression. For what I'm doing though, windows compression would have worked fine. My main reason for wanting to go with that is because all users have that installed on their machin...
by accesshawaii
05 Nov 2012 11:16
Forum: DOS Batch Forum
Topic: Batch File to Compress File Using Windows
Replies: 19
Views: 21162

Re: Batch File to Compress File Using Windows

That worked...Perfect. Thanks for all the assistance, I really appreciate it.
by accesshawaii
05 Nov 2012 09:08
Forum: DOS Batch Forum
Topic: Batch File to Compress File Using Windows
Replies: 19
Views: 21162

Re: Batch File to Compress File Using Windows

foxidrive, What you posted worked!!!. Thanks. Thanks to everyone for the responses. Ready for another brain teaser? What I'm actually trying to do is create a back-up of a file each month. The name of the zip will need to have the date that it was backed up and the abbreviation of the previous month...
by accesshawaii
02 Nov 2012 04:36
Forum: DOS Batch Forum
Topic: Batch File to Compress File Using Windows
Replies: 19
Views: 21162

Re: Batch File to Compress File Using Windows

When I paste the below in a dos command prompt

7z a -t7z -r "c:\backup.7z" "c:\MyStuff\*.*"

I get the error

'7z' is not recognized as an internal or external command, operable program, or batch file

I'm running 7-Zip 9.20. I just downloaded it yesterday.
by accesshawaii
01 Nov 2012 12:02
Forum: DOS Batch Forum
Topic: Batch File to Compress File Using Windows
Replies: 19
Views: 21162

Re: Batch File to Compress File Using Windows

I appreciate your patience with this but it's still not working. Below is what I'm using.

7z a -t7z -r "c:\backup.7z" "c:\MyStuff\*.*"
by accesshawaii
01 Nov 2012 11:28
Forum: DOS Batch Forum
Topic: Batch File to Compress File Using Windows
Replies: 19
Views: 21162

Re: Batch File to Compress File Using Windows

Thanks for the reply but that did not work. I even made a folder called "backup" and one called "MyStuff", which I placed files in both and nothing happened. I'm assuming that backup is where the files would be placed and MyStuff is where the files are coming from. Below is the e...
by accesshawaii
01 Nov 2012 10:16
Forum: DOS Batch Forum
Topic: Batch File to Compress File Using Windows
Replies: 19
Views: 21162

Re: Batch File to Compress File Using Windows

Ok, I was able to get 7-Zip installed. Could someone help me with the syntax for zipping the file that I outlined in the first post using 7-zip? Thanks.
by accesshawaii
01 Nov 2012 09:24
Forum: DOS Batch Forum
Topic: Batch File to Compress File Using Windows
Replies: 19
Views: 21162

Batch File to Compress File Using Windows

The computer that I am on, I cannot download Winzip or 7Z etc. I have to work with what I have. I have the regular Windows default right click on a file and select "Send to Compressed Zip Folder" If I have a file called MyTest.XLS located in C:\MyFolder and I want it to zip to C:\MyZips, h...