Search:

Type: Posts; User: Albiz; Keyword(s):

Search: Search took 0.02 seconds.

  1. Replies
    3
    Views
    657

    Hi guys! Can you tell me why this function...

    Hi guys!
    Can you tell me why this function doesn't work?

    function Hide_And_Temp{
    Dir $Search -Recurse -Force -Include *.$$$, *.$YY$, *.tmp, *.temp, *.DS_Store, *.part, ~$*, Thumbs.db, *.wbk...
  2. Replies
    3
    Views
    972

    Here the code: $Move=@() ...

    Here the code:

    $Move=@()
    $Et=@("0*","1*","8*","9*","Scansioni")
    $Today = Get-Date -Format "dd-MMM"
    $Folder= "C:\Estinto\$Today\EmptyFolders"
    $Search= "C:\Test"

    if(!(Test-Path $Folder)){
    ...
  3. Replies
    3
    Views
    657

    Here the code: $Move=@() $Today = Get-Date...

    Here the code:


    $Move=@()
    $Today = Get-Date -Format "dd-MMM"
    $Folder= "C:\Estinto\$Today\Temporary"
    $Search= "C:\Test"
    #se gli elementi da ricercare dovessero aumentare si potrebbe creare un...
  4. Replies
    3
    Views
    972

    [SOLVED][POWERSHELL] Move-Item and Subfolders

    Hi guys!

    I've got this easy problem. Suppose you've got two Folders F1 and F2, both containing the same file F.ext.
    I want to move both copies of the file F.ext in the folder F3. So i thought a...
  5. Replies
    14
    Views
    3,283

    Maybe Solved

    $Move=@()
    $Att=@{}
    $Today = Get-Date -Format "dd-MM"
    $Folder= "C:\Estinto\$Today"

    if(!(Test-Path $Folder)){
    New-Item -Path $Folder -ItemType directory
    }

    $Ent=Get-ChildItem "C:\Test"...
  6. Replies
    3
    Views
    657

    [SOLVED][POWERSHELL] Remove Hide Attribute

    Hi guys!
    I'm a newbie about powershell, I just started programming last week ...
    I have a folder with some files, I do not know how many they are, what is their extension or attributes.
    I...
  7. Replies
    14
    Views
    3,283

    when the work look finished, the problems appear

    I've got a new problem :mad:
    I want to change some file properties.
    indeed i want to remove the hide property
    How can i make it?
  8. Replies
    14
    Views
    3,283

    Just one thing... Now i've got this code ...

    Just one thing...
    Now i've got this code

    ConvertTo-HTML -head $head -PostContent "<br><i>$(Get-date)</i>" -body $body |
    Out-File "C:\Test\Double.html" -Encoding ascii
    Launching the script...
  9. Replies
    14
    Views
    3,283

    [solved]

    function Get-Double {
    [CmdletBinding()]
    param (
    [Parameter(Mandatory=$true,
    Position=0,
    ValueFromPipeline=$true,
    ...
  10. Replies
    14
    Views
    3,283

    Yes i know... we've got a lot of files, surely...

    Yes i know... we've got a lot of files, surely there will be some with identical names in different directories, but most of them have different names.
    The script seems to work but for me the...
  11. Replies
    14
    Views
    3,283

    Coding... again

    #qui genero la funzione di ricerca dei file duplicati
    function Get-Double {
    [CmdletBinding()]
    param (
    [Parameter(Mandatory=$true,
    Position=0,
    ...
  12. Replies
    14
    Views
    3,283

    There are some folders, like 00-Doc, starting...

    There are some folders, like 00-Doc, starting with numbers. Those MUST NOT BE DELETED.
    I think this
    if(Folder start with(list)){skip}
    How can i write it for powershell?

    Maybe...
  13. Replies
    14
    Views
    3,283

    Thanks it works! Last thing i swear... i need to...

    Thanks it works!
    Last thing i swear... i need to do a report for duplicate files. The same file with different names must be recognized as a duplicate. How can i do this?
    Thanks
    A
  14. Replies
    14
    Views
    3,283

    $Dir="C:\Test" foreach( $In in(Get-ChildItem...

    $Dir="C:\Test"
    foreach( $In in(Get-ChildItem $Dir -Recurse){
    if(!(Get-ChildItem -Path $In.FullName)){
    echo $IN.FullName;
    Remove-Item $IN.FullName
    }
    }

    Power shell...
    how can i schedule it?
  15. Replies
    14
    Views
    3,283

    [SOLVED]Deleting temp files every day

    Hi guys!

    today i'm working on a VM with Windows Server 2008 R2, the role is File Services; File Server and File Server resource Manager are installed.
    I want to delete all Thumbs.db and other...
  16. Thread: File association

    by Albiz
    Replies
    3
    Views
    1,634

    Ok! I had tried it 2 or 3 times but nothing......

    Ok!
    I had tried it 2 or 3 times but nothing... when i select the program, as well explained, and click open, the program won't appear in the list... it's the only program, if i try to associate the...
  17. Thread: File association

    by Albiz
    Replies
    3
    Views
    1,634

    File association

    Hi!
    I've got a new problem... Do you know Mastercam?:mellow:
    I've installed the new version x7(file extension mcx7) and uninstalled the old version x6(file extension mcx6).
    If i double click on a...
  18. Replies
    11
    Views
    2,021

    Alternative

    Hi guys!
    I'm crashing my head on the wall trying to find a solution and what happend?
    I found this: http://git-scm.com/
    Maybe it's nothing or maybe it's the solution i don't know.. Tomorrow i'll...
  19. Replies
    11
    Views
    2,021

    Hi Paul! Thanks for your reply and the continued...

    Hi Paul!
    Thanks for your reply and the continued presence in this forum!
    Now i understand that the timed write access is not the solution; you have explained it very well.
    What about the...
  20. Replies
    11
    Views
    2,021

    Hi guys! it's a lot of time since i wrote you....

    Hi guys!
    it's a lot of time since i wrote you.
    Thank for replies but sincerely the only thing i realized is that i've done nothing to improve my situation.:mad:
    Have you some updates, something...
  21. Replies
    11
    Views
    2,021

    Hi mrjimphelps! Thank you anyway! What about my...

    Hi mrjimphelps!
    Thank you anyway!
    What about my english.. i think it's rusty but :) thaks

    A
  22. Replies
    11
    Views
    2,021

    Modify file on Windows Server 2008 R2

    Hello Guys!

    I want to apologize for my not fluent english, i hope to be comprehensible and to quickly fill possible gaps. :)

    I've got a server with Windows server 2008 r2, a domain controller,...
Results 1 to 22 of 22