How to open a very long link from batch - batch-file

I write to you because I should create a small batch file to open a very long link containing symbols including &.
At the moment I'm trying to use the following structure:
explorer "www.mylink.com etc"
But not all the link is opened but it is truncated in half and therefore the server gives me an error reply.
Do you have any ideas on how to solve the problem?
I point out that I cannot shorten the link via a third party site as it contains confidential information.
Thank you in advance for your support. I'm sure it will be a very simple thing for those who are familiar with the language.

thanks for your feedback. It was easier then i thought, it worked in this way (i always need to open the link from Internet Explorer):
start iexplore.exe "https://myurl.com/etc%%etc7"

Related

Where can I find HotRod file : startServer.bat (Windows users)

I downloaded infinispan-6.0.0.Final-all.zip.
I need to implement Infinispan Server, using HotRod protocol, but, I don't find at all the file startServet.bat that they mention in their documentation.
Can anybody give me the right link to get it? or the best thing would if somebody give me a small sample of code.
Thank you a lot!
Please refer to Infinispan Server Guide.
In the download link, you imagine that *-all.zip would include servers as well. But it doesn't.
The server has now been separated and it's a different download. Once you've downloaded it, run it with /bin/standalone.sh

How Can I View/Open This File?

i am trying to open and edit a file that contains some type of custom protection.
file game :gameguard.des
its from lineage2/interlude/system file.
this is not the original version though, it has been modified to block some packets sent to the server.
i've used VS2010 to open it and it shows me the memory and the contents in hex, like viewing computer memory.
here is the file attached. http://www20.zippyshare.com/v/88173717/file.html
so my question is, how can i open it viewing the code in a higher level and edit it? what tools i need to use to do that?
regards, George
This is a Win32 program. You can try to disassemble it, but it's itself a binary file and what the VS2010 is showing you is correct, because it's showing it most probably in HEX format to you.
You need to first figure out which compiler was used to compile this application, then maybe it helps you to refactor the executable.
The fact that you can not directly run this application might be just the extension, maybe if you change the extension to .exe, it runs under windows. I don't recommend it though.

How can I connect to an FTP with C?

Well, I'm trying to do a simple script to check any updates in an application. To check this, the most simple way I found is to connect to the FTP (where have a file which says the last update) and compares X file with a Y file. If the Y file is outdated, the script should run an installer/updater. Can I do it with C? I mean, can I connect to an FTP using C?
I research but nothing helpful was found.
At least, why C? I actually don't know. Part cause it is the language that I have more affinity, part cause I think it's clean, I dunno. Just intuition. haha.
Hope I have been clear.
PS: Working on Windows.
Well, I found another way to do this with a Batch File. I'm connecting to the FTP using the script (ftp -s:commands.txt ip.ftp) and then I use a comparation to check the differences. The rest was simple. Thank you all.

edit the etc\hosts file

Using C or a bat file, I'm trying to edit the file hosts file from c:\Windows\System32\drivers\etc but I can;t bc it is write protected.
Can you tell me what can i do?
The program modifying the host file needs to run as Administrator
Can you tell me what can i do?
Yes. Get the Administrator password or find another way to solve your problem.
If you describe what is your problem (rather than your issue on a possible solution) maybe we can figure a different (working) solution.
Open the file from VS code. VS code it self will show a dialog box. Confirm it.

How to get list of files that a program is working with?

How to get list of files that a program is working with?
For example, if a program is downloading something, how can I know what and where that file is while downloading?
If you're trying to get this information programmatically, I don't know how to do it. If you are debugging something and want to follow what is going on, check out sysinternals.
Use a debugger, OllyDbg is a good one: http://www.ollydbg.de/
For the network activity, use a packet sniffer: Wireshark - http://www.wireshark.org/

Resources