I've never done any scripting on Windows but now I need to write a batch file that downloads a file off the internet (amongst other things). If it was linux I would use wget.
Is there a builtin executable that will download a file to a given directory? This needs to run on XP.
Three Networks:
10.1.1.0 - Mine
172.1.1.0 - My Branch Office
172.2.2.0 - My Branch Office's VOIP VLAN.
My PC is on 10.1.1.0. I need to telnet into a Cisco router on 172.2.2.0. The 10.1.1.0 network has no routes to 172.2.2.0, but a VPN connects 10.1.1.0 to 172.1.1.0. Traffic on 172.1.1.0 can route to 172.2.2.0.
All PCs on 172.1.1.0 are running Windows XP. Without disrupting anyone using those PCs, I want to open a telnet session from one of those PCs to the router on 172.2.2.0.
I've tried the following:
psexec.exe \\branchpc telnet 172.2.2.1
psexec.exe \\branchpc cmd.exe
telnet 172.2.2.1
psexec.exe \\branchpc -c plink -telnet 172.2.2.1
Methods 1 and 2 both failed because telnet.exe is not usable over psexec. Method 3 actually succeeded in creating the connection, but I cannot login because the session registers my carriage return twice. My password is always blank because at the "Username:" prompt I'm effectively typing: Routeruser[ENTER][ENTER]
It's probably time to deploy WinRM...
Does anyone know of any other alternatives?
Does anyone know how I can fix plink.exe so it only receives one carriage return when I use it over psexec?
I'm running a small home server that stores my documents. The disks in this server are in a RAID 1 configuration (using Linux md) and it's also periodically being backup up to an external hard drive to make sure I don't lose them. However, I'm always accessing the files from other computers on the home network using an SMB share, and this results in a considerable speed penalty (especially when connected over WLAN). This is quite annoying when editing large files, such as digital camera RAWs, for example.
I've been looking for a solution to this problem. It would have to offer some kind of local caching to speed up the file access. The client would preferably not keep a copy of all data on the server, as it consists of a very large collection of photographs, most of which I will not access frequently. Instead, it should only cache the accessed files and sync the changes back in the background. Ideally, it would also do some smart read-ahead (cache the files that are in the same directory as the currently opened file, for examples), but I suppose that's asking a bit much. Synchronization should be automatic (on file change). Conflicting file changes (at the same time on different clients) are unlikely to happen in my use case, but I would prefer if they are handled properly (notification to the user).
I've come across the following options, so far:
something similar to Dropbox. iFolder seems to be the only thing that comes close, but its reputation (stability) and requirements put me off.
A distributed file system such as OpenAFS. I'm not sure this will speed up file access. It is probably overkill for what I need.
Maybe NFS or even Samba offer these possibilities. I read a bit about Windows' Offline Files, but its operation seems limited (at least on Windows XP).
As this is just for personal use, I'm not willing to spend a lot of money. A free solution would be preferred. Also, the server needs to run on Linux, and I need a client for at least Windows.
I have a Linux machine that I can access by SSH from my laptop when I am inside my house, but when I am using another Internet connection, I can't connect.
What do I need to do?
I have Verizon DSL Internet and an ActionTec modem, if that matters. If there are other relevant facts I'm omitting, please let me know and I'll improve my question.
Have a few computers running Linux Centos 6.4. They are connected to an unmanaged switch, which in turn, is connected to a router (Verzion Fios issue).
What is a good way to "log in" to one of the computers so that I can run commands?
Do I need to use SSH, or something different?
Since the computers do not have their own public-facing IP addresses, do I need to set up some kind of port forwarding within the router?
What is a simple, reliable way to accomplish this?
Thanks so much!
I'm currently using Jolly's Fast VNC and Mac OS X's built-in VNC server (System Preferences, Sharing, Screen Sharing) to access my iMac remotely.
Here's my problem: When I'm using the iMac remotely, the screensaver deactivates and the screen is unlocked. If someone had physical access to my iMac they could walk up to it and start using it.
Is there some way I can set things up so that when I'm using my iMac remotely the screen stays locked, like Windows XP Professional does when you're using RDP?
I know I can use X remotely with the iMac locked, but I would like to use Mac applications remotely, too.
I'm using a vmware virtual machine running ubuntu linux and from there I connect to a Windows XP machine using rdesktop through a VPN tunnel. This configuration is given and cannot be changed.
From time to time my internet connection does a reconnect. Then the running rdesktop (running in fullscreen mode) process freezes and isn't usable anymore. Now I want to return to the underlying linux and restart the rdesktop process. But I'm not able to get out of fullscreen rdesktop mode and so I cannot access the ubuntu desktop to kill any process.
My solution is to reboot the vmware and start the rdesktop again.
Is there a better way to get the configuration running again after a freeze?
EDIT:
I have no admin rights for the linux system. Everything must be done with user rights.
Do you know of any application that could define the application for opening different file types?
For example, setting a default application that would open .reg files.
Or if there is not any then what do I do to set it?
When I set a program to open a specific file type by default, it works (like Word 2013 for PDFs). However, when I change the default back to reader, I lose Word as an option that I can pick in the open with sub-menu.
How can I get it to stick?
Update: It seems that there is something special about word. Adding Notepad++ as the default and then changing it back seems to keep notepad++ on the sub-menu.
Word version is 2013
I need free duplicate file finder/remover app, with ability to
find duplicate files/folders by name and/or by size and to remove one of duplicates.
Can you please recommend any? and why?
Thanks
EDIT:
Changed to CW. Please add more apps to list if you know any.
This is probably trivial, but I'm quite new to Linux and I was unable to find any info online.
In a folder, I can execute the command find . -regex '.*py' and get the following result:
./.#netMHC3.2.py
Is this a file in the current directory? What can I do to display its contents?
Thank you
I'm have trouble transfering files again from my work PC, which is a linux machine to my home windows PC.
My work has changed it so I now need to SSH twice before I can access my PC.
So I need to:
ssh [email protected]
password: xxxxx
I then need to do it again.
ssh computer_name
password: xxxxx
I've tried accessing directly via my computers IP but to of no avail.
Is there a way I can use pscp or file zilla to ssh twice so I can transfer files?
My backupexec is setup to integrate with exchange, to backup the information store, versus just backing up the data file path.
My exchange mdbdata folder is 17 gigs. But my backup exec is backing up 40 gigs worth of data. I have gone through it a million times, and it's strictly backing up exchange information store.
I deleted all my backups and started over, to clear the incremental backup old data.
Where is all this extra data coming from?
I have a mysqld server running on a windows 7 machine. how to allow a windows vista machine to connect to this server. I need to set some permissions using
grant all privileges to username@ip
but what should be the username. i am not sure with windows.
The Suse machine is a vmware virtual machine on my laptop.
I can log in to the console using the VmWare app, but would like to log into a graphical user interface from Windows 7.
As you can tell i am a bit lost in linux world...
I'm using MS Paint on WinXP at work, for capturing simple screenshots.
Problem: MS Paint always wants to save in BMP format.
How can I set PNG to be Paint's default file-saving format?
Note: Suggestions about other software are irrelevant. I know there are many other software tools available. But I'm asking specifically about MS Paint.
Hello
I'm looking for a program to windows 7 that will work as a printer but it will save it to a file.
Microsoft Word - Printer - Save it to "hello.pdf" on the desktop.
I working on a application that will use a printer, but i don't have any printer to test with. And save to .xps files do not work, because u need to write a filename.
Hope that you understand!
Thanks
i have created an mac application which can be open my file extensions.
But when i tested it, i dont get the path of the file requested to open using the application,
instead i got the "psn_0_151589".
I checked it for itunes, textedit, xcode and other applications.
Below is my app sample main code where i process path of the opened file python code import sys import os.path print("File opened with this app :: ",sys.argv[1]) if(os.path.exists(sys.argv[1]): print("valid file :: { do something...}\n") else: print("Invalid file path received :: { do nothing }\n")
OUTPUT : File opened with this app :: psn_0_151589 Invalid file path received :: { do nothing }
Hope someone knows how to get the filepath which was opened using any application.
Any help would be greatly appreciated.
-ramsey
Hi Guys,
I'm having an issue where after the server has been up for a period of time (~week/few days) the server will start reading corrupt data. For instance when I run a sha1sum of a file after a fresh boot it remains the same. However after a while I will start to get segfaults and from then on whenever I read this file I get a different sha1sum.
I've checked S.M.A.R.T with long tests and I've run an extended memtest86+(12 passes)
My lspci is as follows:
00:00.0 Host bridge: Advanced Micro Devices [AMD] RS780 Host Bridge
00:01.0 PCI bridge: Advanced Micro Devices [AMD] RS780 PCI to PCI bridge (int gfx)
00:06.0 PCI bridge: Advanced Micro Devices [AMD] RS780 PCI to PCI bridge (PCIE port 2)
00:07.0 PCI bridge: Advanced Micro Devices [AMD] RS780 PCI to PCI bridge (PCIE port 3)
00:11.0 SATA controller: ATI Technologies Inc SB700/SB800 SATA Controller [AHCI mode]
00:12.0 USB Controller: ATI Technologies Inc SB700/SB800 USB OHCI0 Controller
00:12.1 USB Controller: ATI Technologies Inc SB700 USB OHCI1 Controller
00:12.2 USB Controller: ATI Technologies Inc SB700/SB800 USB EHCI Controller
00:13.0 USB Controller: ATI Technologies Inc SB700/SB800 USB OHCI0 Controller
00:13.1 USB Controller: ATI Technologies Inc SB700 USB OHCI1 Controller
00:13.2 USB Controller: ATI Technologies Inc SB700/SB800 USB EHCI Controller
00:14.0 SMBus: ATI Technologies Inc SBx00 SMBus Controller (rev 3c)
00:14.1 IDE interface: ATI Technologies Inc SB700/SB800 IDE Controller
00:14.3 ISA bridge: ATI Technologies Inc SB700/SB800 LPC host controller
00:14.4 PCI bridge: ATI Technologies Inc SBx00 PCI to PCI Bridge
00:14.5 USB Controller: ATI Technologies Inc SB700/SB800 USB OHCI2 Controller
00:18.0 Host bridge: Advanced Micro Devices [AMD] K10 [Opteron, Athlon64, Sempron] HyperTransport Configuration
00:18.1 Host bridge: Advanced Micro Devices [AMD] K10 [Opteron, Athlon64, Sempron] Address Map
00:18.2 Host bridge: Advanced Micro Devices [AMD] K10 [Opteron, Athlon64, Sempron] DRAM Controller
00:18.3 Host bridge: Advanced Micro Devices [AMD] K10 [Opteron, Athlon64, Sempron] Miscellaneous Control
00:18.4 Host bridge: Advanced Micro Devices [AMD] K10 [Opteron, Athlon64, Sempron] Link Control
01:05.0 VGA compatible controller: ATI Technologies Inc Radeon HD 3300 Graphics
01:05.1 Audio device: ATI Technologies Inc RS780 Azalia controller
02:00.0 Ethernet controller: Atheros Communications Atheros AR8121/AR8113/AR8114 PCI-E Ethernet Controller (rev b0)
03:00.0 FireWire (IEEE 1394): VIA Technologies, Inc. Device 3403
I could really use some help on this, do you have any idea what could cause this? It's really frustrating me as it seems to trigger entirely randomly and will not go away until I reboot. I'm also use KVM for virtualization as well as MD for software RAID on this server and the processor is a Phenom II X4 965. I don't believe it's the software raid however as this affects files also hosted on non-raid partitions so I don't know.
I have both a Windows 7 Ultimate and a Windows XP Professional machine set up on my home network. I would like to be able to access them from school. Port forwarding is not currently an option (long story). Is there a way to set it so that I can RDP (yes it has to be RDP not something like TeamViewer or LogMeIn) over IPv6, possibly using Teredo? I have tried but I can't seem to get it working. Also I cannot ping these machines' IPv6 addresses. How can I get this set up?
I have an Excel spreadsheet file that has 5 or so columns and hundreds of lines. I need to convert this (export these data) to an XML file. I'm interested in three of the columns and they correspond to these XML tags, where info1 can be followed by info2, info3, etc...
<?xml version="1.0" encoding="UTF-8" ?>
<list>
<info1>
<id>111</id>
<value>222</value>
<des>333</des>
</info1>
</list>
If possible, I would like to avoid building this XML manually. It wouldn't be too much trouble to rearrange the Excel file such that the three columns I'm interested in were in their own file. But then I would need to export those data into an XML file of the above format. Any ideas?