UiPath Documentation
activities
latest
false
Important :
Veuillez noter que ce contenu a été localisé en partie à l’aide de la traduction automatique. La localisation du contenu nouvellement publié peut prendre 1 à 2 semaines avant d’être disponible.

Activités de workflow

Dernière mise à jour 13 mai 2026

Obtenir des informations sur les fichiers

UiPath.Core.Activities.GetFileInfoX

Récupère les propriétés d'un fichier spécifié et enregistre les informations pour une utilisation ultérieure dans le projet. Lorsque vous utilisez ensuite les informations enregistrées dans une autre activité, vous allez sélectionnez l’une des propriétés du fichier en tant qu ' Entrée : Taille (en octets), Nom (nom de fichier avec l'extension), Nom complet (inclut le chemin complet), Dossier (chemin complet vers le dossier contenant le fichier), Date de dernière modification, Date de dernier accès, Date de création (dates avec heure), EstEnLectureSeule (VRAI ou FAUX), Taille en Ko.

Configurer l'activité

Dans le corps de l’activité
  • File path - Click Browse docs image next to the field and then browse to and select the file for which to retrieve information. Alternatively, you can click Plus docs image on the right side of the field and then, from the menu, choose one of the available options to indicate the path of the file:
    • Si l’activité se trouve à l’intérieur d'une activité For Each File in Folder, vous pouvez sélectionner Fichier actuel > Nom complet (inclut le chemin complet) pour indiquer le chemin du fichier que vous êtes en train de parcourir.
  • Données du Bloc-notes du projet, d'un fichier Excel parent ou d'un compte Outlook. Par exemple, sélectionnez un fichier Excel, puis sélectionnez une cellule qui contient un chemin d'accès.
    • Use Saved Value - Select a value in the form of a file path that you previously saved for later use in the project.
    • Text - Enter a file path in the Text Builder. To add dynamic paths, you can combine text with Excel formulas selected using the Plus image des documents menu in the Text Builder. For example, for a file downloaded daily that includes the current date in the name, you can add the date to the file name using a formula in the default Project Notebook.
    • Ask when run - Prompt for a file path when the project is executed.
    • Open in Advanced Editor - Enter a VB expression.
  • Output to - Click Plus image des documents on the right side of the field and then, from the menu, select Save for Later Use to use the output result later in your project as input for another activity. Alternatively, you can select Open in Advanced Editor and enter a VB expression.
Dans le module Propriétés
Commun
  • DisplayName - The name displayed for the activity in the Designer panel.
Entrée
Divers
  • Private - If selected, the data used in the activity is not logged by StudioX.

Sortie

  • Configurer l'activité

Cette page vous a-t-elle été utile ?

Connecter

Besoin d'aide ? Assistance

Vous souhaitez apprendre ? UiPath Academy

Vous avez des questions ? UiPath Forum

Rester à jour