Accessing Files/Registry on another Windows server

Hi there,
I'm kind of new to Java. I would like to write a program that can read a text file (or registry entry) located on another Windows server. What is the best way to do this, eg. what java classes would I need? When reading text files, I would like to use the syntax, eg. \\[machine name]\c$\textfile.txt. Is this possible?
thanks,
Pi

Hi there,
I'm kind of new to Java. I would like to write a
program that can read a text file (or registry entry)
located on another Windows server. What is the best
way to do this, eg. what java classes would I need?
When reading text files, I would like to use the
syntax, eg. \\[machine name]\c$\textfile.txt. Is
this possible?
thanks,
PiAny directory path which you can access from the OS can be accessed in Java, so if \\[machine name]... is accessible, yes. However, that speaks nothing of the design of your app, which may be on the 'wonky' side.

Similar Messages

  • Can't open office files located on a windows server fileshare

    Hi TechNet / Office for Mac Community,
    re: can't open MS Office files located on a windows server file share
    Is anyone else experiencing this issue and/or have a fix?
    Details:
    Clients: Mac OS X 10.6 / 10.7 / 10.8 / 10.9
    File share: Windows Server 2008 R2
    Connecting via SMB or CIFS
    Problem:
    When mounting the Windows Server file share, Mac clients are unable to open MS Office 2011 files (not just powerpoint) from that location.
    Error message: "there was an error accessing /Volumes/data/folder/presentation.pptx"
    There is no issue creating or deleting MS Office files from that location. 
    The Mac 'Preview' application is able to open the same MS Office file without issues.
    The file is not corrupted and can be opened when copied to the desktop.
    Windows clients have no problem opening the file.
    Only this particular file share is having an issue.
    Are there any known issues or requirements for Windows Server file shares and MS Office 2011 that would apply to this problem?
    Your assistance is greatly appreciated.

    WebPhoenix, recommend you post this question here instead:
    http://answers.microsoft.com/en-us/mac
    Thanks,
    Mike
    Unfortunately your post is off topic here, in the TechNet Site Feedback forum, because it is not Feedback about the TechNet Website or Subscription.  This is a standard response I’ve written up in advance to help many people (thousands, really.)
    who post their question in this forum in error, but please don’t ignore it.  The links I share below I’ve collected to help you get right where you need to go with your issue.
    For technical issues with Microsoft products that you would run into as an
    end user of those products, one great source of info and help is
    http://answers.microsoft.com, which has sections for Windows, Hotmail, Office, IE, and other products. Office related forums are also here:
    http://office.microsoft.com/en-us/support/contact-us-FX103894077.aspx
    For Technical issues with Microsoft products that you might have as an
    IT professional (like technical installation issues, or other IT issues), you should head to the TechNet Discussion forums at
    http://social.technet.microsoft.com/forums/en-us, and search for your product name.
    For issues with products you might have as a Developer (like how to talk to APIs, what version of software do what, or other developer issues), you should head to the MSDN discussion forums at
    http://social.msdn.microsoft.com/forums/en-us, and search for your product or issue.
    If you’re asking a question particularly about one of the Microsoft Dynamics products, a great place to start is here:
    http://community.dynamics.com/
    If you really think your issue is related to the subscription or the TechNet Website, and I screwed up, I apologize!  Please repost your question to the discussion forum and include much more detail about your problem, that could include screenshots
    of the issue (do not include subscription information or product keys in your screenshots!), and/or links to the problem you’re seeing. 
    If you really had no idea where to post this question but you still posted it here, you still shouldn’t have because we have a forum just for you!  It’s called the Where is the forum for…? forum and it’s here:
    http://social.msdn.microsoft.com/forums/en-us/whatforum/
    Moving to off topic. 
    Thanks, Mike
    MSDN and TechNet Subscriptions Support

  • How i access file which stored at application server .? Is there any fm ?

    Hi,
    How i access file which stored at application server . Is there any function module which provide same funtinality.
    Regards,
    Gurprit Bhatia

    Hi ,
            U need to use datasets for reading data from application server.Do a f1 on dataset,u will get to know rest of the things.
    TRY.
        OPEN DATASET file FOR INPUT IN TEXT MODE ENCODING UTF-8.
      ENDTRY.
      IF sy-subrc = 0.
          READ DATASET file INTO <wa_data> MAXIMUM LENGTH 200.
               move the data in to internal table
        close dataset
    Edited by: A kumar on Aug 21, 2008 1:37 PM

  • Domain Users To be Given IPads thats will File Sync to a Windows Server in the Company DMZ. Are CALS needed for the ipads ?

    Hi Guys.
    We are thinking on giving some Sales Staff some IPADs to use. All these staff currently have USER CALS. 
    We are going to be using some software called MobileEcho to allow for browsing and File Syncing from a Windows Server in a DMZ. This Server itself maybe doing some LDAP queries to the LAN.  Also some users maybe putting new content onto this Server
    from the LAN. Are any seperate Device CALS needed for this Server ? 
    thanks

    if the user is assigned a User CAL, no device CAL is needed.
    That's the main reason why you would buy User CALs, where there is more than 1 device for each user (or more devices than users, in general)
    Don
    (Please take a moment to "Vote as Helpful" and/or "Mark as Answer", where applicable.
    This helps the community, keeps the forums tidy, and recognises useful contributions. Thanks!)

  • Mac Pro accessing SMB shares on a windows server. After being left on all night, the MP gets "file unavailable" messages when opening files on the share.

    Windows Server 2003 accessed by several PCs and Macs without previous incident.  This one Mac Pro after it's been left on all night (running jobs, or just left idle), and a user tries to reconnect to an SMB share, can go to Finder, Go, Connect to Server, enter the Server info as normal, login as normal, view the directories and files as normal, but as soon as they try to open anything they are given one of the following messages:
    "Word cannot open this document. The document might be in use, the document might not be a valid Word document, or the file name might contain invalid characters (for example, \ /). (<filename>)" - when opening a word document
    "<filename> could not be found.  Check the spelling of the file name and verify that the file location is correct.  If you are trying to open the file from your list of most recently used files on the File menu, make sure that the file has not been renamed, moved, or deleted." - when opening an excel spreadsheet
    Note that these messages are popping up AFTER the user has double-clicked on them to open them.  So the files are certainly there and correctly named (and contain only letters, numbers and underscores).  After restarting the Mac Pro, the error messages are gone and the files can be accessed without problem. Would like it so that they can connect to the server without having to restart every day.

    Windows Server 2003 accessed by several PCs and Macs without previous incident.  This one Mac Pro after it's been left on all night (running jobs, or just left idle), and a user tries to reconnect to an SMB share, can go to Finder, Go, Connect to Server, enter the Server info as normal, login as normal, view the directories and files as normal, but as soon as they try to open anything they are given one of the following messages:
    "Word cannot open this document. The document might be in use, the document might not be a valid Word document, or the file name might contain invalid characters (for example, \ /). (<filename>)" - when opening a word document
    "<filename> could not be found.  Check the spelling of the file name and verify that the file location is correct.  If you are trying to open the file from your list of most recently used files on the File menu, make sure that the file has not been renamed, moved, or deleted." - when opening an excel spreadsheet
    Note that these messages are popping up AFTER the user has double-clicked on them to open them.  So the files are certainly there and correctly named (and contain only letters, numbers and underscores).  After restarting the Mac Pro, the error messages are gone and the files can be accessed without problem. Would like it so that they can connect to the server without having to restart every day.

  • A trouble free way of giving Administrators access to redirected folders on Windows Server 2008 R2 Standard?

    A few months ago I set up some redirected folders on a clients Windows Small Busines Server 2008. I recall that setting up the redirected folders was straightforward, but when I edited the permissions to allow administrative access to these server located
    folders, all hell broke lose. The permissions change seemed to trash the folders. I think I managed to 'bodge' it for a couple of users and got it working, but it was such a headache I didn't bother doing it for the other users.
    Now, I sit in front of a brand-spanking-new Windows Server 2008 R2 Standard box which is going to be installed with a new client within 48 hours. I would like to set up redirected folders and would like to grant admin rights on these folders so I can view
    their contents directly from the server.
    It seems to me that there is no offical Microsoft documentation which relates specifically to doing this on Windows Server 2008. Given the amount of problems this has caused for many admins, I am astounded.
    Somewhere there are articles which describe how to do it on 2003, but this procedure does not work well in 2008.
    There is an SBS article that admits permissions can be trashed, but this is no help on Standard edition:
    http://blogs.technet.com/b/sbs/archive/2010/10/08/folder-redirection-in-small-business-server-2008.aspx
    I have just posted a note on this rather long article:
    http://social.technet.microsoft.com/Forums/en-GB/smallbusinessserver/thread/70fa7f0e-7f2c-4f00-8401-42d262d80cd6
    So, my question, hopefully to Microsoft employee, please can you document
    exactly how to grant admin rights to users redirected folders on Windows Server 2008 R2 Standard, and please could you do it today :-)
    In the absence of this help, then I'm afraid this is yet another great but badly implemented feature that we will not be using.
    Stuart

    Typical Micro$haft answer!
    Quote "Hope this helps!"
    NO IT DOESN'T!
    Did you bother to read the original question?
    Quote "So, my question, hopefully to Microsoft employee, please can you document exactly how
    to grant admin rights to users redirected folders on Windows Server 2008 R2 Standard"
    So, Micro$haft, Why did you give instructions to Server 2003?
    ... When the requester SPECIFICALLY stated: "Somewhere
    there are articles which describe how to do it on 2003, but this procedure does not work well in 2008"

  • Web Access for Remote Desktop on Windows Server 2012

    Hello,
    i've a Windows Server 2012 without a domain. So i installed the remote desktop session host, the remote desktop license server and the remote desktop gateway as a server role only. All is working fine. Without a domain, no management tools for remote
    desktop are available. So i configure the remote desktop via the registry. I define (via registry) some remoteapps, too. All values are copied from a running Windows Server 2008 R2. So the remoteapps are runing.
    Now i want to use the new Microsoft Remote Desktop client for Android. To use a remoteapp i must define a remote resource. To define a remote resource i need a url to the web access for remote desktop. So i installed the web access. But if i login to the
    web access, i don't see any remoteapp. What's wrong? I've set the ShowInTSWA to 1. What must i do to access an existing remoteapp via web access?
    Martin

    Hi Martin,
    Server 2012 RD Web Access is designed to retrieve published RemoteApps and Desktops from a Server 2012 RD Connection Broker and/or a Server 2008 R2 RD Session Host server.  From your description it doesn't appear that you are using either of the above.
    I know it is a more complicated set up, but you should consider having a domain, creating a RDS deployment, etc., so that you can use the full featureset as it was intended.  You can do it all on a single server if needed.  For Server 2012
    there is a hotfix that needs to be applied to permit RD Connection Broker to work on the same server instance as active directory.
    -TP

  • Not seeing all the files on a shared Windows server??

    I'm using a Windows Server 2003 to share files between Macintosh an Windows users. But sometimes the Mac users (10.4) don't see all the files (in the same folder) that the Windows users do! I've checked on the server and I don't see any (obvious) permission problem ... So why aren't all the files displayed???
    Any help is greatly appreciated!
    Jerome

    Hello Herr Jerome, I have the same problem, here in our company. We have around 70 employees connected to a windows server network. There are 68 PCs and 2 macs, one of which is mine. We have a special directory on the server called macdata, but other users place their files in their own respective directories, to which we normally have access.
    Since yesterday, if anyone else places files from PC on to the server for me, I cant see them. I can see all other files but not the ones copied since yesterday.Our support guys have tried pretty much everything including resetting permissions, to no avial. finally they received an error message: Caution older mac systems will have problems reading more than 65000 (plus a few files). But there are in advance of 100 000 files on our server, but the extra 35 000 wernt put on there just yesterday.I´m running Macosx 10.4.11 which is by no means an old system.
    I´ve spent the day hunting the Internet for a solution, but Info on this subject seem to be scarce! I mean this is a very big problem in a business environment, our IS dept has been trying to scrap the macs for years and I´ve been working here on a mac and fighting for 15 years. So now our IS has at last a valid reason for switching us to PCs.
    I don´t understand Apple not publishing these limitions in a prominent spot on their website, not to mention a solution because it´s a crucial limitation, people should know about. Apple truely is not interested in corporate, nor in its truly loyal champions bravely fighting aganst the PC onslaught

  • File systems available on Windows Server 2012 R2?

    What are the supported file systems in Windows Server 2012 R2? I mean the complete list. I know you can create, read and write on Fat32, NTFS and ReFS. What about non-Microsoft file systems, like EXT4 or HFS+? If I create a VM with a Linux OS, will
    I be able to acces the virtual hard disk natively from WS 2012 R2, or will I need a third party tool, like the one from Paragon? If I have a drive formated in EXT4 or HFS+, will I be able to acces it from Windows, without any third party tool? Acces it,
    I mean both read and write on them. I know that on the client OS, Windows 8.1, this is not possible natively, this is why I am asking here, I guess it is very possible for the server OS to have build-in support for accesing thoose file systems. If Hyper-V
    has been optimised to run not just Windows VMs, but also Linux VMs, it would make sense to me that file systems like thoose from Linux or OS X to be available using a build-in feature. I have tried to mount the vhd from a Linux VM I have created in HyperV,
    Windows Explorer could not read the hard drive.

    Installed Paragon ExtFS free. With it loaded, tried to mount on Windows Explorer a ext4 formated vhd, created on a Linux Hyper-V vm, it failed, and Paragon ExtFS crashed. Uninstalled Paragon ExtFS. The free version was not supported on WS 2012 R2
    by Paragon, if Windows has no build-in support for ext4, this means this free software has not messed around anything in the OS, I guess.
    Don't mess with third-party kernel-mode file systems as it's basically begging for troubles: crash inside them will make whole system BSOD and third-party FS are typically buggy... Because a) FS development for Windows is VERY complex and b) there are very
    few external adopters so not that many people actually theist them. What you can do however:
    1) Spawn an OS with a supported FS inside VM and configure loopback connectivity (even over SMB) with your host. So you'll read and write your volume inside a VM and copy content to / from host.
    (I personally use this approach in a reversed direction, my primary OS is MacOS X but I read/write NTFS-formatted disks from inside a Windows 7 VM I run on VMware Fusion)
    2) Use user-mode file system explorer (see sample links below, I'm NOT affiliated with that companie). So you'll copy content from the volume as it would be some sort of a shell extension.
    Crashes in 1) and 2) would not touch your whole OS stability. 
    HFS Explorer for Windows
    http://www.heise.de/download/hfsexplorer.html
    Ext2Read
    http://sourceforge.net/projects/ext2read/
    (both are user-land applications for HFS(+) and EXT2/3/4 accordingly)
    Hope this helped :)
    StarWind VSAN [Virtual SAN] clusters Hyper-V without SAS, Fibre Channel, SMB 3.0 or iSCSI, uses Ethernet to mirror internally mounted SATA disks between hosts.

  • Bursring control file from Lunix to windows server

    Hi all
    I have devloped an rdf file to return payment data I want to store the output on sharefolder on windows server is it possible to move the file (FTP) from the application server which is Linex to my windoes server using XML Bursting Control File ?
    If it is not could you please direct me to correct way
    Thanks.

    I write bursting ctrl file to save the output file from concurent program to be saved on other location on the same server it executing normaly without error but when I check the directory ther is no file there =c02/TEST/apps/apps_st/appl/xx/12.0.0/bank/
    <?xml version="1.0" encoding="UTF-8" ?>
    - <xapi:requestset xmlns:xapi="http://xmlns.oracle.com/oxp/xapi">
    - <xapi:request select="/ABC\LIST_G_CUSTOMER_REFERRENCE_NUMBER\G_CUSTOMER_REFERRENCE_NUMBER">
    - <xapi:delivery>
    <xapi:filesystem id="FILE_DELIVERY" output="/c02/TEST/apps/apps_st/appl/xx/12.0.0/bank/" />
    </xapi:delivery>
    - <xapi:document output-type="excel" delivery="FILE_DELIVERY">
    <xapi:template type="rtf" location="xdo://XX.ABV.en.00/?getSource=true" />
    </xapi:document>
    </xapi:request>
    </xapi:requestset>

  • Can't able to Access the internet in my Windows server 2008

     I installed windows server 2008 server in my machine, it has only windows sever 2008 single OS.
           Now my problem is, i am not able to Access internet, I tried some intel softwares, to install Ethernet drivers, but no use.
    What i have to do now..? 
                                                       Please help in this issue,
                             Thanks in advance                              
                    surendra mannem
     

    Hi,
    Please confirm you have configured the correct TCP IP address, if you have the static IP address please confirm your default gateway and the DNS server address 
    is correct and work properly.
    More third party information:
    Windows 7 Static IP
    http://blog.mclaughlinsoftware.com/2009/11/26/windows-7-static-ip/
    How to Set Static IP Address in Windows 7
    http://www.youtube.com/watch?v=wmYBBHvfpTg
    Hope this helps.
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • Programmatic webdav/unc access requires user logon to windows server 2008 R2

    I have an automated process (a .net windows service) that connects to sharepoint document library via a UNC (\\mysharepointsite\doclib).  When the machine is rebooted,
    accessing this folder results in a  System.IO.IOException: The network name cannot be found exception.
    However, if we log into the windows server 2008 r2 machine under the account that the service is running on, it starts working, and continues to work even when we log out.  It continues to work until we reboot the computer.
    I've already run into and solved other user-centric fixes for 2008.  For example, the "Desktop Experience" feature is required to browse the path and all, and unchecking "automatically detect settings" significantly speeds up browsing of these paths. 
    However, I'm not sure what user logon initializes that would be fixing this problem.

    I can further simplify this.  The following command will fail initially:
    dir \\myspserver\mypath
    However, running the same command after browsing to the same path in windows explorer succeeds.  At this point I've eliminated the programming as an issue so i will try to post a similar question on technet.  However, please let me know if anybody
    has any further info.

  • Missing LIBRFC32.DLL file for 64bit - x64 Windows Server

    Dear Folks,
    I have installed SAP ECC6 with BI7 system on Windows Server 2003 on x64. But I am not able to get data from SAP BW from Crystal Report 2008. I also did  MDX PARSER connection test through t.code SM59. I got list of error messages.
    Logon     Cancel
    Error Details     timeout during allocate / CPIC-CALL: 'ThSAPCMRCV' : cmRc=20 thRc=456 Timeout dur
    Error Details     ERROR: timeout during allocate
    Error Details     LOCATION: SAP-Gateway on host ns2 / sapgw00
    Error Details     DETAIL: no connect of TP mdxsvr from host ns2 after 20 sec
    Error Details     COMPONENT: SAP-Gateway
    Error Details     COUNTER: 798
    Error Details     MODULE: gwr3cpic.c
    Error Details     LINE: 5873
    Error Details     RETURN CODE: 242
    Error Details     VERSION: 2
    I have been read other forums, most probably I am missing LIBRFC32.DLL file for x64 Windows Server. I couldnu2019t find any where this specific file for Windows Server x64 64bit version. It is available on Sap Market place, since I donu2019t have super user rights, I canu2019t download it.
    If any one of you already have this file. Please share with me.
    thanks
    Obaid

    Hello Ingo
    Thanks to read my problem and for your reply, I have already read that SAP Note 1032461,  I  have the same problem as clearly defined in the note, and suggesting to put LIBRFC32.DLL file in <windows-dir>/system32 folder.
    My SAP ECC and BI7 (Kernl 7.00) is installed on 64-bit, x64 Windows Server 2003 Enterprise. I need to download that file from RFC library available on SAP Market place. But, I don't have any super user rights.
    If someone has similar setup and has already that file or could download for me. I need to get that file. I appreciated your kindly help.
    thanks
    Obaid

  • Deleting ._ files appearing on a windows server

    In trying to create and then delete some folders on a windows server running server 2003, various ._ files appear. Because the original files were deleted first, I am unable to delete the files on the windows server. I need them deleted. How do I accomplish the task?

    Hi Lynette!
    You apparently have Macs using a combination of AFP (using the Windows Server's File Services for Macintosh) and SMB (using the Windows Server's Windows file sharing) connecting to your server.
    The Network Trash folders are part of the File Services for Macintosh and are in use by the Windows system. You shouldn't delete these yourself unless you know you've disabled File Services for Macintosh.
    And while they can be annoying to Windows users, the "._filename" files are useful to your Mac OS X machines connecting to the server using its Windows file sharing. Do you have a specific reason you want to delete these files? If you don't have hidden files showing then how to do you see them and why do you want to delete them?
    bill
    1 GHz Powerbook G4   Mac OS X (10.4.7)  

  • Opening FH MX files placed on a Windows server

    Mac OS 10.4.7
    When opening FH files which placed on my computer, the next
    time I choose “open” the dialog will open in the last
    folder I used.
    But if the files saved on the Server it doesn’t work.
    The “open” dialog will go to the Desktop. Any Idea how
    to fix it?
    (On OS 9 there use to be “last folder used by the
    application” in the control panel, how it’s work under
    OS X?)

    Hi Lynette!
    You apparently have Macs using a combination of AFP (using the Windows Server's File Services for Macintosh) and SMB (using the Windows Server's Windows file sharing) connecting to your server.
    The Network Trash folders are part of the File Services for Macintosh and are in use by the Windows system. You shouldn't delete these yourself unless you know you've disabled File Services for Macintosh.
    And while they can be annoying to Windows users, the "._filename" files are useful to your Mac OS X machines connecting to the server using its Windows file sharing. Do you have a specific reason you want to delete these files? If you don't have hidden files showing then how to do you see them and why do you want to delete them?
    bill
    1 GHz Powerbook G4   Mac OS X (10.4.7)  

Maybe you are looking for

  • Strange msg in log file what is this ?

    I have deployed my first Lion server that runs on Macmini. The server is just a standalone server and no LDAP or AD etc. Just mail, adressbok, ical, web, wiki, filesharing and dns running. system logfile is full with this section every 10sec. ?? Sep

  • Logging in to Blackberry Protect from a BB

    Why can I not log in to Blackberry Protect on the web from a BB smartphone?  I have two BBs and if one is lost, it would be very handy to be able to trace/lock/wipe it from the other (or any other BB for that matter) using BB Protect. 

  • Using our website to host a form.

    How do I embed the form I create on FormsCentral on our website?

  • Preposition size limit was exceeded

    Hi Everyone, I have a preposition job that's trying to copy a folder roughly 108GB in size (comprised of subfolders and files).  I have the job running nightly and it always terminates after several hours copying about 27GB of data saying, "Prepositi

  • Why does email appear in the draft folder after email is sent

    could someone tell me why emails I am sending appear in the draft folder even after the email has been sent and is in the sent folder?