Backup and upload to FTP server [closed] - batch-file

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
Can anyone direct me to a script solution that makes a backup of a directory and uploads it to an ftp server?
I was searching for a batch script initially but any solution would do, as long as it is open source.
Thanks in advance,
Jean

I'll be working on one soon, but WinSCP has a CLI that you can use to accomplish this:
http://winscp.net/eng/docs/commandline
There are plenty examples using WinSCP on stackoverflow and on other sites, like:
Batch file when using WinSCP and command prompt
Problem in executing the batch file in winscp
You can use this url get more examples:
https://stackoverflow.com/questions/tagged/batch-file+winscp
Please keep in mind WinSCP isn't the only solution for this, it's the one that I use at work :).

Related

create a shortcut using vbs, set to 'run as' admin [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 2 years ago.
Improve this question
[terse]
I am looking for a method of setting a desktop shortcut to "Run As Administrator".
pseudo.code: object.Advanced = "Administrator"
[verbose]
I have scoured the web and discovered how to make a batch script to gather required information for generating a 'shortcut' on a user's 'desktop'. This 'link' can sometimes need to be run as "Administrator" to perform certain actions (like clearing out TEMP locations, adding files to subfolders under %ProgramFiles(x86)%, etc.). I can have it display instructions to the script using "Run As Administrator" from the Context Menu but the less user interaction (beyond double-clicking) with the generated script file the better.
try with shortcutJS.bat - it can create a shortcut with "run as admin" tick from command line :
call shortcutJS.bat -linkfile "some.lnk" -target "%cd%\some.bat" -adminpermissions yes
There's no api function that can tick the 'run as admin' option. In this case I'm reading the lnk file and I'm changing the 21st byte of the file.
More information can be found somewhere in this docs.

Launching Multiple .vbs and .bat scripts at same time [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 2 years ago.
Improve this question
I'm pretty new to .vbs and .bat, but is there a way to start multiple .vbs and .bat files at once with a few lines of script/code? The reason I'm asking this is because I'm trying to make a prank for a sibling/friend, and I want it to launch a .vbs file and .bat file for the prank.
Yes you can just use start:
#echo off
start "" bat1.bat
start "" vbs1.vbs
And so on, this batch script will start them without waiting for each to complete.

How to execute file in DOS after any program exits? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 2 years ago.
Improve this question
I am using MS-DOS 6.22. This is not command prompt.
I need to execute a batch file or .com file after every/any program terminates and returns to the command line. I don't believe a batch file will work for this cause it would have to be a separate batch for every single program on the system.
I believe a code injection into command.com may be necessary. Is there anyone out there who is familiar with the internals of DOS or assembly language?
If you think you have a simpler solution, please let me know.

Need Help Finding File for SSIS Tutorial [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 4 years ago.
Improve this question
I am trying to complete the tutorial here.
It lists a zip file called SQL2012.Integration_Services.Create_Simple_ETL_Tutorial.Sample.zip that at the very least has the flat file needed to complete the tutorial. All of the links either point to zip files that don't apply or lead to a page that tells you to click a "download tab" that isn't there. The "download archive" downloads a zip file but the required file isn't there either.
Has anyone managed to find the zip file? If so, would you please post the link in your answer or tell me which MS tutorial I should run instead? I have SQL Server 2017 Express.
The actual page with the download link is here - it's step 2, not the one you linked to
https://learn.microsoft.com/en-us/sql/integration-services/lesson-1-2-adding-and-configuring-a-flat-file-connection-manager?view=sql-server-2017
It refers to this page
http://go.microsoft.com/fwlink/?LinkId=275027
Which has a button at the top right with this download link
https://codeplexarchive.blob.core.windows.net/archive/projects/MSFTISProdSamples/MSFTISProdSamples.zip
Which downloads a ZIP file called MSFTISProdSamples.zip
In that ZIP file is another ZIP file called sourceCode.zip
Inside this ZIP file in Kilimanjaro_RTM\Tutorial\Creating a Simple ETL Package\Sample Data, I'm guessing you will find your files.
Yes that page is incorrect, out of date and full of blind links.
It's also referring a lot to very old versions of SQL Sever
I managed to work this out though
This is question is definitely not suitable for stack overflow but I want to illustrate that it's important to have strong problem solving skills. This is almost as important as just having the base technical skills for the product you are learning
From the comments, #halfer also found this link which is a lot simpler to use
https://www.microsoft.com/en-us/download/details.aspx?id=56827

.pes file creator [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I am looking into starting my own brand of clothing. I have the sample material and a logo but the embroider has asked me to provide a PES file for her to use with her Brother Embroidery Machine. I have looked into changing my .jpg or my .png file into a .pes file but i have had no luck. It looks like there is a lot more to it than a simple conversion.
My question here is would anyone be able to create a .pes file for me if i provide the logo? If not would anyone be able to point me in the right direction on how i could create it myself?
Thanks
There are quite a few programs that can do this conversion, but it usually requires a bit of know how, and usually the software is fairly expensive. Here are a couple of the more affordable products.
http://www.sandscomputing.com/id20.html
http://www.buzztools.com/buzz-2-Stitches.asp
You might want to turn the image to a more embroidery style image first, which you can do with the following:
http://www.drawstitch.com/index.php/Products/Embroidery_Effect/
Did you try Embroidermodder? It's a famous open source solution for editing digital embroidery files.
It's strange that its creator Josh Varga answered this question without pointing you to it!

Resources