_tmp files in windows environment

Hi
I am having some problem with these ._tmp.jpg files that my mac generates while i am working in Photoshop with JPG files. Mac saves another small temp file when i save it to the network /windows/
i have to run a batch on windows platform, but the batch always stops becouse of these system files.
unfortunately the batch app; is written for win only so i have to find a way to remove these temp files.
can i tell my mac somehow not to create these files on the network?
PS
i know i can get rid of the DC_store files by typing:
defaults write com.apple.desktopservices DSDontWriteNetworkStores true
maybe there is a similar command line for the temp files???
G5   Mac OS X (10.4.6)  

Here is a script that will monitor a given directory for "._" and delete those during its next pass (every 10 seconds):
Set objFSO = CreateObject("Scripting.FileSystemObject")
strComputer = "."
Set objWMIService = GetObject("winmgmts:" _
& "{impersonationLevel=impersonate}!\\" & _
strComputer & "\root\cimv2")
Set colMonitoredEvents = objWMIService.ExecNotificationQuery _
("SELECT * FROM __InstanceCreationEvent WITHIN 10 WHERE " _
& "Targetinstance ISA 'CIM_DirectoryContainsFile' and " _
& "TargetInstance.GroupComponent= " _
& "'Win32_Directory.Name=""C:\\\\Temp""'")
Do
Set objLatestEvent = colMonitoredEvents.NextEvent
strReturned = objLatestEvent.TargetInstance.PartComponent
strFilePath = Split(strReturned, "CIM_DataFile.Name=")(1)
strFilePath = Replace(strFilePath, """", "")
strFilePath = Replace(strFilePath, "\\", "\")
Set objFile = objFSO.GetFile(strFilePath)
WScript.Echo objFile.Name
Set File = objFile
DeleteFiles(File)
Loop
Sub DeleteFiles(File)
wscript.echo "Deleting file " & File
If InStr(File, "._") Then
objFile.Delete
End If
End Sub

Similar Messages

  • FTP Receiver File adapter  -- CRLF In output File in Windows environment.

    Hi All,
    Idoc to File : Receiver File adapter.
    I use the endseparator 'nl' and the output file is coming correctly with NFS and It is not working when we are doing with with FTP.
    Tested with NFS (Unix environment)
    I used the endseparator 'nl' and the output file is coming with CRLF.
    Tested with FTP (Windows environment)
    When I tested the same the output file is coming with LF.
    I tried by using the module "SAP XI Sample/ConvertCRLFfromToLF" which will convert from LFToCRLF.But it is serving my purpose.
    Can anyone please suggest how I can get the CRLF in the file while putting in the output directory which is in windows environment.
    Thanks
    Seema

    Do not mention endSeparator in content conversion parameters...by default XI puts newline as endSeparator
    It should work for NFS and FTP on Windows

  • Could'nt delete file after processing  sender file in windows environment ?

    Hi,
    I have problem with sender file adapter in windows 2003 server, because the file adapter cannot delete the file after processing, seems like permission problem. but then i have set full controll access to the pi7adm (sap instance admin). but the problem still persist.
    Please advise, me.
    Thank you and Best Regards
    Fernand

    Hi,
    Of course i set delete option in my CC sender, but the fail adapter couldn delete fail without any reason ?
    This is the error message from RWB Could not delete file 'K:\WORKDIR\FTP\data\data1.fer1' after processing.
    like i mention before i have set full access to sap admin user to the directory. but the error still persist.
    any idea.
    Cheers
    Fernand

  • Files Migration Windows folder areas

    Hi,
    My client has a requirements to migrate all the files from windows environment public/private folders to Oracle Files. I was able to create respective workspaces.
    Document says that Oracle files-specific password, protocol access is needed for FTP'ing files into the workspace. We have thousands of users, and is there any way of FTP'ing files automatically.
    Thanks,
    Please respond directly to [email protected] if you can.
    Prasad.

    Mystic-Rhythms wrote:
    I recently installed the Sound Blaster Li've! - Li'veDrvUni-Pack for my Sound Blaster 5.. I didn't know if I should have found 5. specific drivers or not. The card works fine, but I noticed that some strange files that appeared in my C:\Windows folder after the install. There are 2 files: one is a Channel File and the other is a BAK file. Both have an extremely large number of zeros in their names. What are these files for and why did they pop up after I installed the drivers?
    So what's the filename? We don't like to play guessing game.

  • Bursting control file for Printer not working in WINDOWS ENVIRONMENT

    Hi,
    We are trying to print xml publisher report output (PDF) using bursting control file. Is not wokring.
    We are using ebs (R12.1.1) on Windows environment.
    Any pre-requisite setup (ie. cups config) should be done before printing using control file. Please guide me i am not having knowledge in printer setup and printer part..
    Thanks in advance
    --Ben                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    Hi Hussein,
    Yes, I am able to print seed concurrent report (o/p -text) to that printer (method:- giving the printer name and copies by clicking " Option " in SRS window.. )
    When i do the same for xml publisher publisher report to the same printer , its not working using bursting control file.
    I too made the test in xml publisher report without bursting control file , there i faced another new issue. Let me explain
    1. We are using RDF as data source . here o/p :-" XML "
    2. We are using RTF as layout. In template definition, i chose the default o/p type as :- "HTML"
    3. When i submit the request, i choose the printer which is working fine for printing seeded report. (method:- giving the printer name and copies by clicking " Option " in SRS window.. )
    4. My printer getting prints HTML tag, instead of desired o/p. I wondered after seeing the printout.
    5. I cross checked by clicking view output, its showing me the exact html output as per RTF layout.
    Dont know wat happening ??? Help me out.
    i did the same for changing default output type in template definition to RTF,PDF.. its printing source code of the output type instead of printing output.
    Thanks & Regards,
    --Ben                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Modify file permissions in a windows environment

    Hi everyone,
    I'm currently looking for a way to define a file as readable and writable under a Windows environment.
    I saw 3 relevant methods in the java.io.File class, which are:
    setReadable
    setWritable
    setExecutable
    There are 2 versions of those methods, among which you have one that allow you t set readable and writable flags for "everyone" (meaning any user?).
    I am currently develloping an application where files must be shared (readable and writable) between many users (from a Windows user point of view).
    Reading the files causes no issue. However, a "FileNotFoundException (access denied)" is raised anytime I try to overwrite a file created by some other windows user.
    Apparently, those setWritable, setReadable methods do not work ... or I am messing up somewhere?
    The solution I'm looking for has to be Java native, since this application has to remain portable to any other platform (no Runtime.exec call with DOS commands).
    Here's a dummy application I made which can help you reproduce my problem:
    package local.test;
    import java.io.File;
    import java.io.FileWriter;
    import java.io.IOException;
    public class Test {
         public static void main(String[] args) throws IOException{
              File file = new File("C:/test.txt");
              file.createNewFile();     
              System.out.println("R - " + file.setReadable(true));
              System.out.println("W - " + file.setWritable(true));
              System.out.println("X - " + file.setExecutable(true));
              System.out.println("R everyone - " + file.setReadable(true, false));
              System.out.println("W everyone - " + file.setWritable(true, false));
              System.out.println("X everyone - " + file.setExecutable(true, false));
              FileWriter writer = new FileWriter(file);
              writer.write(System.getProperty("user.name"));
              writer.close();
              System.out.println("R - " + file.setReadable(true));
              System.out.println("W - " + file.setWritable(true));
              System.out.println("X - " + file.setExecutable(true));
              System.out.println("R everyone - " + file.setReadable(true, false));
              System.out.println("W everyone - " + file.setWritable(true, false));
              System.out.println("X everyone - " + file.setExecutable(true, false));
    }All functions return true with the first user. When executing with some other user, setWritable always return false.
    The call to writer.write(System.getProperty("user.name")); raises an exception when trying to open the FileOutputStream.
    Just for the memo, the files I want to create will be under the "Documents and Settings\All Users\Application Data" folder.
    Thanks in advance for your help,
    Eric

    Alan,
    Many thanks for your reply, it really helps knowing that I shouldn't look any further yet.
    I believe it may be useful to add this note to the javadoc, because it currently mentions that the call to this method will set it as readable/writable/executable for "everyone", with no more information, which is why I was a bit lost.
    Anyway, I'm looking forward to the JDK7 ;) Keep up the good work!

  • Do we need to update snpsagent.conf File and Windows Environmental variable in ERPI 11.1.2.2

    In ERPI 11.1.1.3 Admin guide its mentioned we need to update the below , do we need to do the same in 11.1.2.2 version also
    Updating the snpsagent.conf File
    ä To update the snpsagent.conf file:
    1 Navigate to the folder where Oracle Data Integrator is installed.
    For example, C:\OraHome_1\oracledi\tools\wrapper\conf.
    2 Using a text editor, open the snpsagent.conf file.
    3 Search for: wrapper.java.library.path.1.
    4 On a new line, add the following text:
    wrapper.java.library.path.2=../drivers
    5 Close and save the file.
    Updating the Windows Environment Variable
    After you update the snpsagent.conf file, add the ODI drivers path information to the
    Windows environment variable.
    ä To update the Windows environment variable:
    1 On the desktop, right-click My Computer, select Properties. Select the Advanced tab, and then click
    Environment Variables.
    2 In the System variables section, select the Path variable, and then click Edit.
    3 At the end of the Variable value line, add a semi-colon (;), and then add the Oracle Data Integrator
    driver path.
    For example, C:\OraHome_1\oracledi\drivers.
    4 Click OK three times.
    5 Restart the Oracle Data Integrator Agent Service.
    Thanks

    You should not have to do this in ODI 11.1.1.6 for ERPi 11.1.2.2.

  • How to use windows environment variable "%appdata%" in TEXT_IO built-in

    Hello Sir/Madam,
    I'm currently using TEXT_IO built-in package to write data file user's "C" drive in Oracle Forms 6i on Windows XP OS. We are in the process of upgrading the OS to Windows7. This new version does not allow to write to "C" or "D" drive. I was wondering how I can use windows environment variable "%appdata%" in this built-in to write the data file to user's AppData folder?
    I would appreciate your help.
    Regards,
    Vani Sonti

    You are obviously not familiar with the architecture of webforms. See here http://www.oracle.com/technetwork/developer-tools/forms/275632-133265.pdf
    I guess you are running your forms locally, so the forms server and the client run on the very same machine. This won't be the case once you run in production, as you will have an application server and clients connecting to the server.
    text_io, tool_env and all the forms built ins will be executed on the machine the forms runtime runs on, and in a 3 tier architecture this is the application server, not the client as the real client will run just a java applet which actually just does what the forms runtime on the server tells it to do (or passes client side events like mouse clicks to the forms runtime on the server).
    A very simple explanation for the architecture would be that the whole GUI part has been ripped off the forms runtime and put into a java applet; the logic part (the old-fashioned forms runtime) where the whole Forms PL/SQL code is executed communicates with the GUI part (which is implemented as a java applet) via HTTP, so there is no need to have both running on the very same machine.
    So if you are writing a file with text_io on c:\dummy.txt this file will be generated on the application server machine as it is executed where the forms runtime runs. If you read environment variables with tool_env.getvar you will get the environment variable from the application server machine.
    If you need those variables from your application server then those built-in packages are what you need, but if you need the real client variables there is no way around java in webforms 6i. But the beans should be simple enough to have them written within no time ;)
    cheers

  • To launch a java application in Windows environment

    hello,
    I need to distribute one stand alone application, that I made using NetBeans, for sale it.
    I know that this is not a so simple problem, because delivering the program to one client you cannot simlpy say him to launch the jar file....
    I saw that, in the Windows environment, program like eclipse or netBeans run thruogth an .exe file, that I think is a program that its purpose is to define the java environment for the application in the particular host operative environment .
    Perhaps they are corporations like InstallShield (now Macrovision) that sale programs to solve this type of problems..., and I already used this type of programs to install some my
    applications that I coded in languages different than java.
    But before to look for one of them, I should like have more informations how this problem fits in java language, knowing that java is different to other languages because use JRE and have proper tools, how JWS and JNPL, that concern with this problem.
    ...Looking in the forum I had not much help..., but I saw that someone uses to write launchers program in different language, like C, as well I had not so much detailled instructions about how to do it.
    In order to solve my problem I should like have, from some one that already made it, some general information about how he realized the commercial installation of java applications in the most used Operatve Systems (particullary Windows), and possibly to have links to web sites for good explanations, including advantages to buy apposite commercials installation programs too.
    thank you very much
    tonyMrsangelo

    You can distribute it as an executable JAR so users will run it by double clicking. The would be required to have JRE installed.
    You can distribute it online via WebStart. Users need JRE but it's easier to manage updates and distribution of new versions.
    You can distribute it with AjaxSwing, a product that deploys Swing applications as AJAX websites so you don't need JRE at all.
    You can create EXE files using many of the products available. Google for it and you'll get lots of hits.

  • File sharing windows 7 and xp problem

    Hello All,,
    I am working within domain environment using windows server 2012 R2 as domain controller and my client computers are windows 7 professional and windows XP ,,,
    the problem is windows XP can NOT access the shared files on windows 7 computers ,, and gives a message that you do not have permission to access this network resource when you enter the IP address or FQDN of the computer that hold the share files ,,,, i.e.
    put \\X.X.X.X  in RUN bar ,,,, even the permission is established correctly , network works well and the firewall is turned off ,,
    but the strange thing that when restarting windows 7 then windows xp clients can access the shared files for some period of time may be some hours then the problem comes back again and i have to reboot windows 7 to fix the problem.
    is there any permanent solution for this problem without rebooting windows 7 machines  ??!

    Hi,
    In addition to previous post, please check following things to see what's going on:
    Step 1: Reinstall Client for Microsoft Networks on your XP computer:
    Network and Sharing Center->Change adapter settings
    ->Right click on you connection->Properties.
    Then uncheck Client for Microsoft Networks to apply and recheck to see what's going on.
    Step 2: Compatibility to lower lever LSA settings on Windows 7:
    Note: backup your registry keys before doing following changes to avoid unexpected error.
    1. Start Registry Editor, type Regedit in the Search programs and files box, and then press ENTER.
    2. Locate and then click following registry subkey:
    HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\LSA
    3. Locate the LmCompatibilityLevel registry value.
    If the registry value is not present, follow these steps to create it:
    a.Select the registry subkey that is listed in step 2.
    b.On the Edit menu, point to New, and then click  DWORD Value.
    c.Type LmCompatibilityLevel, and then press ENTER.
    4. Set the DWORD value to 1. To do this, click Modify on the Edit menu, type 1 in the Value data box, and then click OK.
    5. Exit Registry Editor and restart the computer.
    Step 3: GP settings on your Windows 7 PC if there is gpedit.msc on this computer:
    1. Click Start >  Run , type secpol.msc in the box, and click OK .
    2. Click Local Policies .
    3. Click User Rights Assignment .
    4. Click Access this computer from the network and make sure that the Everyone group is included.
    5. Click Deny access to this computer from the network and make sure that the Everyone group is NOT included.
    Let me know the results of each step and post back if you need further help.
    Kate Li
    TechNet Community Support

  • Mac user locks files for Windows users on NFS shares

    Hi Everyone,
    We run a mostly Windows environment here at my school and have two AD servers which also do our file shares for AD users. Every user has a network drive mapped to L on Windows, and this is mounted on the dock of our Mac users (all Macs are bound to the AD for auth and the OD for management). We also have shared folders for different groups of people, such as admissions or art (where the issue is). Most of these divisions are only Windows, so file sharing isn't and issue - but this is not the case in our Art department.
    We have a shared folder (T on Windows) setup for users of the Art department with mostly Office docs in it. Windows users can write to the share just fine, just as the Mac users can. The issue comes up once a Mac user edits and saves the file (all to the share) - Windows users are now locked out of the file because the permissions are reset. What can we do to fix this issue? It's obnoxious having to go and reset the permissions after every edit from a Mac user.
    Thanks,
    -MRCUR

    We also have that same problem. We don't actually solved the issue but we what we do did is just unlock the files once and even they are edited or opened in windows or mac, it does not lock the file. We use windows pc and connect to the drives and just simply right clicking the file then properties a button will show in the properties window saying "unlock". After we did that, those files was never locked out again.

  • How to include Windows environment variables in e-mail action scheduled task

    Hello Support,
    Is it possible to include Windows environment variables such as %username% or %computername% in the subject line or body of the "Send e-mail" action item of the Task Scheduler?  For example, I would like when I setup a scheduled
    task to perform a certain task and send an e-mail message,  the email should include either the user name or computer name in the subject line and body of the e-mail.  Is that possible?
    Thanks

    Hi,
    You can create a new Scheduled Task preference item to solve your requirement.
    Checkout the below link for more information,
    http://technet.microsoft.com/en-us/library/dd851678.aspx
    Regards,
    Gopi
    JiJi
    Technologies
    I created a scheduled task and that does not provide what I need.  The scheduled task will simple send an mail, but I want to know from which machine or user triggered the email.  I also tried adding the batch file to the scheduled
    task and that did not work even though the scheduled task has the following settings. 
    User Configuration >> Prefence >> Control Panel Settings >> Scheduled Tasks
    When running the task, use the following user account
    NT AUTHORITY\System
    Run whether user is logged on or not 
    Run with highest privileges  HighestAvailable
    Configure for: Windows 7
    I also tried with Computer Configurations

  • Setting up one IMAC in a windows environment

    I am a systems administrator in a small company that operates in a 100% windows environment. We have no one on staff with any support knowledge when it comes to apple. I have one individual ( a graphic designer) that has requested a Imac. The reason; because it is the industry standard in her world, and it would be easier for her to operate in Mac so as to be able to take over design projects others have started and vice versa. She also needs to work on huge files so it is time to upgrade. What are likely to be my challenges, I am thinking of even the simple things, for instance, I have noone on staff with any experience setting up a Mac machine on any network let alone a windows environment
    +

    Promothebear –
    First what ever you do don’t upgrade to 10.5.6 there seems to be all sorts of issues with it when it comes to working/playing well in a Windows environment.
    Though frustrating at times getting your Mac on a Windows network is not too difficult it just takes a little time and patience to pull it off.
    Now for some questions:
    - Since you indicate that you are the system administrator can I assume that you are running on a Windows Domain?
    - Are you planning on using/accessing files created on the Mac with a PC?
    - Are you planning on storing files created on the Mac on your Windows Servers?
    - What version of Windows Server are you using (assuming a Windows Domain)?
    - Do you plan on printing to printers attached to Windows systems?
    - Are you planning on sharing files directly from your Mac?
    Assuming that you are on a Domain I would recommend that you have the Mac join your Domain – but for now if you can answer the above questions that will help in determining a realistic solution for you.
    Respectfully –
    BH
    Message was edited by: brown.hornet

  • "\n" problem while downloading the file in unix environment

    Hi folks,
    I have some problem in uploading and downloading the file in unix environment..
    This is my sample code i am using.
    File userDataFile = new File("xyz".csv");
    out = new BufferedWriter(new OutputStreamWriter(new FileOutputStream(userDataFile),"UNICODE"));
    out.write("Name"+"\t");
    out.write("Age"+"\t");
    out.write("Dob"+"\t");
    out.write("Contact"+"\n");
    for(int i=0;i<retList.size;i++){
    out.write("xyz"+"\t");
    out.write("22"+"\t");
    out.write("300399"+"\t");
    out.write("xyzzz"+"\n");
    as per this i wrote code for generating the reports. Its contains some 7k records.
    Its works in Windows environment.
    Some times in Windows environment if the contents size is 7000 records means
    i got only the headers..
    I am not getting any real records.
    I am not sure.. my client is using may be an unix environment..
    Please give the solutions for this..
    Very thanks in advance.

    Hi Jothi,
    This is not an answer to your question. It is a question for you instead. I have tried to reach you on several forums regarding the HAP_DOCUMENT documentation you have.
    Again, I am really sorry to contact you through a differente forum, but I really need the HAP_DOCUMENT documentation for my project.
    Please send me a message to [email protected]
    Thanks again.
    JULIAN CASTRO

  • Need to migrate DI 11.5.1.2.0 of windows environment to DI 11.7.2.0 fo Linux environment

    Hey any one please give me steps to follow, for magrating DI 11.5.1.2.0 of windows environment to DI 11.7.2.0 fo Linux environment.
    Very Thank full to you all.. in Advance

    Hi Simon;
    I Have looked throught these notes but I still cant see a definitive answer to whether the new Windows server will require a fresh 11.5.10 install before I can clone my existing system?No its not. If You follow below note you will see it doesnt mention something like you ask
    Cloning Oracle Applications Release 11i with Rapid Clone [ID 230672.1]
    Your steps should be like:
    1. Section 1: Prerequisites apply related patch your source (Dont forget Check Appendix A: Install JRE 1.3.1 into RDBMS ORACLE_HOME)
    2. Section 2: Run preclone on source
    3. Copy file from source to target
    4. run postclone
    5.restart machine
    if not how is the registery values and services created?Rapidclone handle it
    Regard
    Helios

Maybe you are looking for

  • Audio on NX8500GT-TD512E

    I have a NX8500GT-TD512E video board mainly for the feature of feeding SPDIF audio to the video card which is then thru to the DVI (HDMI) port so that I only need to use 1 cable for video and audio. So, the SPDIF OUT on the M/B (or from the external

  • * in Query Output

    I am getting asterisk ( * ) in the output of my query. This is in the columns where i am displaying key figures. This happens when i run it in either designer or analyzer. I am displaying net weight and doing the appropriate conversions. The only way

  • Cd playback is crackly in itunes

    Hi, I hope someone can help me out.  I purchased a new Van Halen cd.  It plays perfectly in the car and on my husbands laptop and his ipod etc. However when I play it on my itunes on my laptop it is really crackly, like a bad radio station. Ive googl

  • Snapdrive unable to see LUNs - SCSI Initiator error in event viewer

    Hi,I've just updated VM tools and noticed a problem with Snapdrive that it can no longer see the LUNs presented to the Windows OS. This also has the knock on effect of Snapmanager for SQL can no longer backup the SQL database that runs on this server

  • Getting an alert from secureandroid.mobi

    What to do when I get the following alert and am blocked from navigating safari: secureandroid.mobi; Apple Ipad 2 Alert; You dont have enough battery to run safari mobile; click ok to install battery doctor and increase your battery life by 200